generate-random-strings

1.0.4 • Public • Published

Installation

You can install this package via npm:

npm install generate-random-strings

Usage

const generateRandomString = require('generate-random-strings');

// Example: Generate a random string with the default length (10 characters)
const randomString1 = generateRandomString();
console.log('Random String 1:', randomString1);

// Example: Generate a random string with a specified length (20 characters)
const randomString2 = generateRandomString(20);
console.log('Random String 2:', randomString2);

Readme

Keywords

none

Package Sidebar

Install

npm i generate-random-strings

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

2.03 kB

Total Files

3

Last publish

Collaborators

  • boskomp