generate id js
Math.floor(Math.random() * 100) //the bigger the number the bigger the output
Source: dev.to
create custom id js
var randomstring = require("randomstring"); var code=randomstring.generate({ length: 12, charset: 'req.body' }); console.log(code)