1.0.0 • Published 1 year ago
passwordify v1.0.0
This Node.js package helps you generate basic, random passwords for non-critical applications.
Features:
Generates passwords of specified length. Includes lowercase letters, uppercase letters, and numbers by default. (Optional: Symbols can be enabled, but security is not cryptographically guaranteed.) Simple and easy to use.
npm install passwordify
Usage:
const generatePassword = require('passwordify');
const password1 = generatePassword(); // Generates a 16-character password with default options
const password2 = generatePassword(20, { lowerCase: false }); // Generates a 20-character password without lowercase letters
const password3 = generatePassword(12, { symbols: true }); // Generates a 12-character password with symbols (less secure)
console.log(password1); // Output: (example) Bq2!nN3tRa9y7u1E
console.log(password2); // Output: (example) 9#Y8$2%T&WKUqPLxZ
console.log(password3); // Output: (example) 7*a&K$ZV2{9m# (less secure due to symbols)
npm deprecate passwordify@* "This package is deprecated, the support will be removed soon." npm deprecate passwordify@* false npm deprecate passwordify@* "" npm deprecate instana-aws-lambda-auto-wrap "This package is deprecated, and its support will be removed soon. Consider using an alternative."