Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

node number id generator

npm i nodejs-unique-numeric-id-generator

# yarn

yarn add nodejs-unique-numeric-id-generator


# Node.js
var ID = require("nodejs-unique-numeric-id-generator")

ID.generate(new Date().toJSON()); #output: "118626"
 
PREVIOUS NEXT
Tagged: #node #number #id #generator
ADD COMMENT
Topic
Name
5+3 =