1.5.0 • Published 2 years ago

build-id v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

build-id

npm bundle size Publish Docker Image

Custom length randomized Id generator for node.js

const buildId = require('build-id');

var id = buildId(5);

console.log(id);
// xs2Nu

Default value is 7 char

If no value is passed within the function, it will return a value with 7 characters.

const buildId = require('build-id');

var id = buildId(7);

console.log(id);
// nYa5Sbk