1.1.3 • Published 3 years ago
getrstr v1.1.3
npm getrstr
A simple npm package to generate a given length of random characters.
const random = require('getrstr');
// to generate random string of length 'x'
console.log(random(x));
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js.
If this is a brand new project, make sure to create a package.json
first with
the npm init
command.
Installation is done using the
npm install
command:
$ npm install getrstr
Features
- Generates a string of wide variety of characters from the library.
- The library includes chars, numbers, special symbols.
- Useful to generate strong passwords.
Quick Start
$ npm install getrstr
// import and use the module.
// Pass an integer as a parameter to generate the random string.
People
The original author of getrstr
is Suraj Verma
License
MIT