1.0.4 • Published 1 year ago

generate-random-strings v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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);