r4nd0mstr1ng
TypeScript icon, indicating that this package has built-in type declarations

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

Package Sidebar

Install

npm i r4nd0mstr1ng

Weekly Downloads

6

Version

2.0.1

License

MIT

Unpacked Size

4 kB

Total Files

6

Last publish

Collaborators

  • abranhe