This is a simple package that helps you generate random strings. The strings are generated using nodejs built in crypto library and as such has no external dependencies.
$ npm install random-string-no-dep
const generator = require('random-string-no-dep');
const randomString = generator(2);
That's all.