
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@am-77/p-gen
Advanced tools
A customizable javascript password generator.
Download the p-gen.js file from HERE
<script src="./p-gen.js"></script>
or
Insert it directly from gtihub
<script defer src="https://raw.githubusercontent.com/AM-77/p-gen/master/p-gen.js"></script>
// create an instance of pGen Class
let pgen = new pGen()
// use the instance to access the pGen methods
let password = pgen.generatePassword(true, true, true, true, 12)
npm i @am-77/p-gen
or
yarn add @am-77/p-gen
const pGen = require("@am-77/p-gen")
let pgen = new pGen()
let password = pgen.generatePassword(true, true, true, true, 12)
generatePassword(lowercase:optional = true, uppercase:optional = true, numbers:optional = true, symbols:optional = true, length:optional = 12)
true
if the password should contains lowercase or false
otherwise, true
by default.true
if the password should contains uppercase or false
otherwise, true
by default.true
if the password should contains numbers or false
otherwise, true
by default.true
if the password should contains symbols or false
otherwise, true
by default.generatePasswordWithChars(chars, length:optional = 12)
generateLowercase(length)
generateUppercase(length)
generateNumbers(length)
generateSymbols(length)
You can check the live demo here : p-gen Demo
Feel free to raise an issue or submit a pull request.
Code copyright 2019 AM-77. Code released under the MIT license.
FAQs
A customizable javascript password generator.
We found that @am-77/p-gen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.