Generates random character strings with different symbols or numbers.
$ npm install @mariogironm/tokengen
let tokengen = require('@mariogironm/tokengen')
let token = tokengen({
length: 16, // default 8
chars: true, // default true
numbers: false, // default true
symbols: true, // default true
exclude: ['a', '/'] // default []
})
- Mario Girón