Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 577 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 577 Bytes

@open-tech-world/generate-password

Generates cryptographically secured passwords in browsers.

Install

$ npm install @open-tech-world/generate-password
-OR-
$ yarn add @open-tech-world/generate-password

Usage

const generatePassword = require('@open-tech-world/generate-password');

// or

import generatePassword from '@open-tech-world/generate-password';

console.log(generatePassword());
// c1pXV$3Q

console.log(generatePassword({ length: 15 }));
// fJhgXJEyiwR8$tv

License

MIT © Thanga Ganapathy