npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

r4nd0mstr1ng

2.0.1 • Public • Published


r4nd0mstr1ng

🌀Random String Generator

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

install

npm i r4nd0mstr1ng

Downloadsweekly downloads

7

version

2.0.1

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability