0.5.1 • Published 4 years ago

thinid v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

thinid

🚀📦 Easy way to create 🆔 unique ids.

All Contributors Build Status npm npm david Hits-of-Code GitHub

ThinId creates lovely unique ids. Easy to use, support both JavaScript and TypeScript.

Installation

yarn add thinid
# or
npm install -s thinid

Usage

For ES6 or ESNext

import { thinid } from 'thinid';

For CommonJS

const { thinid } = require('thinid');
console.log(thinid());
Output should be '13b6-351b_fb04$14b8#8983'

API

thinid(length)

Returns string unique id with length option.

Example

thinid(9);
Output should be '9jw6-745b'

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © 103cuong

0.5.1

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.2

4 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago