randombytes-adapter Random bytes adapter module, support CommonJS Usage Node.js / CommonJS var randomBytes = require("randombytes-adapter") console.log(randomBytes(16))