2.0.1 • Published 5 years ago

r4nd0mstr1ng v2.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

🌀Random String Generator

npm.io npm.io npm.io npm.io npm.io npm.io

Install

$ npm install r4nd0mstr1ng

Usage

const rand = require('r4nd0mstr1ng');

console.log(rand());
//=> 'HH9ICHiBSjKnK219w3R6eKgI58ffMW'

console.log(rand(7));
//=> 'dsdfGf4'

API

rand()

Return Type: string Default: 30

Return an string with default value of 30

rand(number)

Return Type: string

Return an string with custom length

Related

License

MIT © Carlos Abraham