@juniyadi/random-string
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Random String

npm npm NPM npm bundle size

Generate Random Password with include Lowercase/Uppercase/Number or Symbol (Includes Ambiguous Character)

import { generate } from "@juniyadi/random-string"; // ESM
// const { generate } = require("@juniyadi/random-string"); // CJS

const password = generate(16, {
  lowercase: 2,
  uppercase: 2,
  numbers: 2,
  symbols: 2,
});

console.log(password);

Readme

Keywords

none

Package Sidebar

Install

npm i @juniyadi/random-string

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

7.23 kB

Total Files

7

Last publish

Collaborators

  • juniyadi