open-index/open-npm huggingface dataset:
npm package: @pakal/unique-key
Description: Unique Key is package from Pakal library
Author: Yisrael Eliev
Latest version: 0.2.1

# @pakal/unique-key
[![Source Code](https://img.shields.io/badge/%3C%2F%3E-source_code-blue.svg)](https://github.com/yisraelx/pakal/blob/master/modules/unique-key)
[![Version](https://img.shields.io/npm/v/@pakal/unique-key.svg)](https://www.npmjs.com/package/@pakal/unique-key)
[![MIT License](https://img.shields.io/npm/l/@pakal/unique-key.svg?color=yellow)](https://github.com/yisraelx/pakal/blob/master/LICENSE)
[![Bundle Size](https://img.shields.io/bundlephobia/min/@pakal/unique-key.svg?color=green)](https://bundlephobia.com/result?p=@pakal/unique-key)
[![TypeScript](https://img.shields.io/badge/100%25-TypeScript-blue.svg)](https://www.typescriptlang.org)

**Unique Key is package from Pakal library**

## Install
```sh
$ yarn add @pakal/unique-key
```
Or
```sh
$ npm install --save @pakal/unique-key
```

## Use
**Module**
```typescript
import {
  default as uniqueKey
} from '@pakal/unique-key';
```

**Browser**
```html
<script src="https://unpkg.com/@pakal/unique-key/bundle.umd.min.js"></script>
```
```typescript
let {
  uniqueKey
} = _;
```

**Examples**
```typescript
 uniqueKey('some'); // => Symbol('some')

 // if env not support es2015 Symbol
 uniqueKey('some'); // => '@@foo-7dmkls967h'

 class Some {
     get [uniqueKey('foo')](){
         return 'bar';
     }
 }
```


## License
Copyright © [Yisrael Eliev](https://github.com/yisraelx),
Licensed under the [MIT license](https://github.com/yisraelx/pakal/blob/master/LICENSE).