Skip to content

TheSuitcase/uid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UID

Generate (almost) unique ids.

Install

npm i thesuitcase-uid

Usage

import uid from 'thesuitcase-uid';

let id = uid(); // Output: an id which is 6 characters long.
let longId = uid(3); // Output: an id which is 18 characters long (3 * 6)

Quality

js-standard-style