random-id-util A simple random id generator. Usage First, install the package using npm: npm install random-id-util --save Then, require the package and use it like so: var randomId = require('random-id-util'); var id = randomId(8); console.log(id); License MIT