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

2.0.0 • Public • Published

random-simple

Simple random numbers|letters|string generator

Install

$ npm install random-simple

Usage

const rndm = require('random-simple')

// Generato random numbers
const randomNumbers = rndm({ length: 4, type: 'numbers' })
const randomLetters = rndm({ length: 6, type: 'letters' })
const randomString = rndm({ length: 10, type: 'string' })

// By default generate string
const randomString = rndm({ length: 256 })

Package Sidebar

Install

npm i random-simple

Weekly Downloads

8

Version

2.0.0

License

MIT

Unpacked Size

4.98 kB

Total Files

6

Last publish

Collaborators

  • stasandk