Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cspd-random-password

codespeedy8ISC1.0.1

Generate a random password. You can set your own characters set, password length. By default, it will generate a password of length 12 with the default characters set which are 0-9, a-z, A-Z.

random, password

readme

Generate a random password. You can set your own characters set, password length. By default, it will generate a password of length 12 with the default characters set which are 0-9, a-z, A-Z.

Usage

The plugin is very easy to use. Just call the function like you can see below:

var randpwd = require('cspd-random-password');
randpwd(); // return a random password

The above function will create a password of 12 characters. You can also change the characters set and password length just by passing it to the function just like you can see below:

var randpwd = require('cspd-random-password');
randpwd('0123456789@#&-/!()',16) // return random password of characters 16

This python package is submitted by a CodeSpeedy team member.