const buildId = require('build-id');
var id = buildId(5);
console.log(id);
// xs2Nu
If no value is passed within the function, it will return a value with 7 characters.
const buildId = require('build-id');
var id = buildId();
console.log(id);
// nYa5Sbk