Randomstringsgenerator
This package will generate a random string with params
Install / Use
/learn @0x4bd0/RandomstringsgeneratorREADME
randomstringsgenerator
This package will generate a random string with params, for example you can use this package to generate passwords.
Getting started :
npm i randomstringsgenerator <br>
Or <br>
yarn add randomstringsgenerator <br>
Next we import it <br>
const rsg = require('randomstringsgenerator')
How to use:
The packge accepts 2 inputs, if you call the generator without passing any params, <br> it will return a random string including lowerCase and numbers only, with the length of 10 chars.<br>
Inputs : <br>
1- length => a number, represents the length of the string. <br> 2- params => Array [] accepts the following strings ['upperCase', 'lowerCase', 'specialChars', 'numbers'].<br>
rsg(length,params)
Example
If i want a random string including uppercase, lowercase, special characters and numbers, with a length of 15 <br>
rsg(15,['numbers','upperCase','lowerCase','specialChars'])
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
