Skip to content
/ unidque Public

Unique IDentifier is a simple and powerful to generate (id) steely and secure numberID or stringID (URL-friendly) The generation depends on a complex algorithm that relies on information, date and process to generate steely

License

Notifications You must be signed in to change notification settings

4i8/unidque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


NPM version NPM downloads

Unique IDentifier is a simple and powerful to generate (id) steely and secure numberID or stringID (URL-friendly) The generation depends on a complex algorithm that relies on information, date and process to generate steely.

Installation

npm install unidque
yarn add unidque

Example

const unidque = require("unidque");
//in stringID, sign [".","_"][random] is not fixed, it moves randomly in the string to make it more secure

unidque(); //stringID (default length 35)
//=> IyJ0g7gy92hwy0yz6IyVzyh2aVIyg3yXA_J

unidque(20); //stringID with 20 characters, (minimum:20 maximum:200)
//=> f02Y10Y7v.9Kj6kqYvK6

unidque(true); //numberID (default length 35)
// => 80743258371438287065918637835813207

unidque(20, true); //numberID with 20 digits, (minimum:20 maximum:200)
//=> 64195268060178376012

Links

License

About

Unique IDentifier is a simple and powerful to generate (id) steely and secure numberID or stringID (URL-friendly) The generation depends on a complex algorithm that relies on information, date and process to generate steely

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published