Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@chonla/randomizer

chonla1MIT1.0.1

Just a string randomizer

randomizer, string, chonla

readme

Randomizer

Just a string randomizer.

Usage

const Randomizer = require('@chonla/randomizer')
const rnd = new Randomizer()
console.log(rnd.alphanumeric(40))
console.log(rnd.get({
    type: 'custom',
    length: 32,
    charset: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_-'
}))

License

MIT