Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: cuongndc9/diana

improve performance

09 Aug 10:07
00741cc

Choose a tag to compare

diana

πŸ‘ΈπŸ» Easy way to create πŸ†” unique ids.

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

🧰 installation

yarn add diana-js

πŸ§‘πŸ»β€πŸ’» usage

import { diana } from 'diana-js';
console.log(diana());

🌳 API

diana(length:? number): string // default length is 16

🀝 contributors

Thanks goes to these wonderful people (emoji key):

Cuong Duy Nguyen
Cuong Duy Nguyen

πŸ’» πŸ“– ⚠️ πŸ‘€

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

πŸ”– license

MIT Β© Cuong Tran

Only thinid ❀️

12 Nov 14:38
ff7647f

Choose a tag to compare

thinid

πŸš€πŸ“¦ Easy way to create πŸ†” unique ids.

All Contributors
Build Status
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):

Cuong Duy Nguyen
Cuong Duy Nguyen

πŸ’» πŸ“– ⚠️ πŸ‘€

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

License

MIT Β© cuongw

Support number code

03 Nov 13:28
7443402

Choose a tag to compare

thinid

πŸš€πŸ“¦ Easy way to create πŸ†” unique id and number code.

All Contributors
Build Status
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 { uid, code } from 'thinid';

For CommonJS

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

API

uid(length)

Returns string unique id with length option.

Example

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

code(length)

Returns string unique id with length option (length from 4 to 6).

Example

code(6);
Output should be '122856'

Contributors

Thanks goes to these wonderful people (emoji key):

Cuong Duy Nguyen
Cuong Duy Nguyen

πŸ’» πŸ“– ⚠️ πŸ‘€

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

License

MIT Β© cuongw

thinid v0.4.1

20 May 17:29
4def5fc

Choose a tag to compare

Support CommonJS

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'

thinid v0.3

27 Apr 17:57
757a80e

Choose a tag to compare

Support length options.

import thinid from 'thinid';

console.log(thinid(9));
Output should be '13b6-351b'

πŸ†” thinid v0.2

20 Apr 17:54
bf9212c

Choose a tag to compare

πŸš€πŸ“¦ Create πŸ†” unique ID like eating πŸ₯ž pancakes.

Installation

yarn add thinid
# or
npm install -s thinid

Usage

import thinid from 'thinid';

console.log(thinid());
Output should be '171a7-0688a_69261'