{"id":16616919,"url":"https://github.com/sebastienrousseau/password-generator","last_synced_at":"2025-03-16T21:31:13.129Z","repository":{"id":37793816,"uuid":"478480151","full_name":"sebastienrousseau/password-generator","owner":"sebastienrousseau","description":"A fast, simple, and powerful open-source utility tool for generating strong, unique, and random passwords. The Password Generator supports various types of passwords including base64-encoded, memorable, and complex strong passwords.","archived":false,"fork":false,"pushed_at":"2024-03-20T18:30:17.000Z","size":2071,"stargazers_count":18,"open_issues_count":15,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-02T03:01:52.936Z","etag":null,"topics":["crypto","cryptography","dictionary","dictionary-tools","generator","javascript","memorable-passphrases","memorable-passwords","nodejs","npm","passgen","passgenerator","password","password-generator","passwords","security","security-tools","yeoman"],"latest_commit_sha":null,"homepage":"https://password-generator.pro","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sebastienrousseau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/funding.yml","license":"LICENSE","code_of_conduct":".github/CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"sebastienrousseau","custom":"https://paypal.me/wwdseb"}},"created_at":"2022-04-06T08:57:31.000Z","updated_at":"2024-02-10T18:30:19.000Z","dependencies_parsed_at":"2023-12-28T19:37:17.714Z","dependency_job_id":"d925db36-0ff8-4efb-a029-10c59994b2e8","html_url":"https://github.com/sebastienrousseau/password-generator","commit_stats":{"total_commits":319,"total_committers":3,"mean_commits":"106.33333333333333","dds":"0.15673981191222575","last_synced_commit":"1390a15a537df11b3b2fd456d403b96bab7ab3c7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienrousseau%2Fpassword-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienrousseau%2Fpassword-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienrousseau%2Fpassword-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienrousseau%2Fpassword-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebastienrousseau","download_url":"https://codeload.github.com/sebastienrousseau/password-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830952,"owners_count":20354854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto","cryptography","dictionary","dictionary-tools","generator","javascript","memorable-passphrases","memorable-passwords","nodejs","npm","passgen","passgenerator","password","password-generator","passwords","security","security-tools","yeoman"],"created_at":"2024-10-12T02:14:40.763Z","updated_at":"2025-03-16T21:31:12.478Z","avatar_url":"https://github.com/sebastienrousseau.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sebastienrousseau","https://paypal.me/wwdseb"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD033 MD041 --\u003e\n\n\u003cimg\n  src=\"https://kura.pro/password-generator-pro/images/logos/password-generator-pro.webp\"\n  alt=\"Password Generator Logo\"\n  width=\"261\"\n  align=\"right\"\n/\u003e\n\n\u003c!-- markdownlint-enable MD033 MD041 --\u003e\n\n# Password Generator\n\nA fast, simple, and powerful open-source utility tool for generating strong, unique, and random passwords. The Password Generator supports various types of passwords including base64-encoded, memorable, and complex strong passwords. It is designed to be a versatile tool for both personal and enterprise needs, ensuring that all users have access to high-security password options. Password Generator is free to use as a secure password generator on any computer, phone, or tablet.\n\n[![Getting Started](https://kura.pro/common/images/buttons/button-primary.svg)](#installation)\n[![Download the Password Generator Tool v1.1.3](https://kura.pro/common/images/buttons/button-secondary.svg)](https://github.com/sebastienrousseau/password-generator/archive/refs/tags/1.1.3.zip)\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/0acb169c95e443729551979e0fd86eaf)](https://www.codacy.com?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=sebastienrousseau/password-generator\u0026utm_campaign=Badge_Grade)\n[![npm](https://img.shields.io/npm/v/@sebastienrousseau/password-generator.svg?style=flat\u0026color=success)](https://www.npmjs.com/package/@sebastienrousseau/password-generator)\n[![Release Notes](https://img.shields.io/badge/release-notes-success.svg)](https://github.com/sebastienrousseau/password-generator/releases/)\n[![npm](https://img.shields.io/npm/dm/password-generator.svg?style=flat)](https://www.npmjs.com/package/@sebastienrousseau/password-generator)\n[![License: MIT](https://img.shields.io/badge/License-MIT-success.svg?style=flat)](https://opensource.org/licenses/MIT)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsebastienrousseau%2Fpassword-generator.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsebastienrousseau%2Fpassword-generator?ref=badge_small)\n\n## Features\n\n-   **Base64 Passwords**: Generate passwords with base64 encoding for a balance of security and usability.\n-   **Memorable Passwords**: Create passwords using a combination of memorable words, making them easier to remember while maintaining security.\n-   **Strong Passwords**: Produce highly secure passwords with customizable length and complexity to meet the highest security standards.\n-   **Customizable Options**: Specify password length, complexity, and word separators to tailor your password to your security needs.\n-   **CLI Support**: Use the Password Generator directly from your terminal for quick and easy access.\n-   **Secure**: Built with security as a priority, using cryptographic functions to ensure password strength.\n\n## Installation\n\n### From NPM or YARN\n\nTo install the Password Generator Tool, use either npm or yarn as follows:\n\n-   `npm i @sebastienrousseau/password-generator`\n-   `yarn add @sebastienrousseau/password-generator`\n\n### From GitHub\n\nClone the main repository to get all source files including build scripts: `git clone https://github.com/sebastienrousseau/password-generator.git`\n\n## What's included\n\nWithin the download you'll find all the password generator source files grouped into the _dist_ folder.\n\nYou'll see something like this:\n\n```shell\n.\n├── COPYRIGHT\n├── LICENSE\n├── Makefile\n├── README.md\n├── Report.txt\n├── index.js\n├── package.json\n└── src\n    ├── dictionaries\n    │   ├── adjectives.json\n    │   ├── adverbs.json\n    │   ├── animals.json\n    │   ├── cars.json\n    │   ├── cities.json\n    │   ├── common.json\n    │   ├── countries.json\n    │   ├── dinosaurs.json\n    │   ├── emoji.json\n    │   ├── encouraging.json\n    │   ├── ergative.json\n    │   ├── fruits.json\n    │   ├── gemstones.json\n    │   ├── hazards.json\n    │   ├── instruments.json\n    │   ├── lovecraft.json\n    │   ├── metals.json\n    │   ├── music.json\n    │   ├── nouns.json\n    │   ├── prepositions.json\n    │   ├── shakespeare.json\n    │   ├── sports.json\n    │   ├── strange.json\n    │   ├── vegetables.json\n    │   └── winds.json\n    ├── lib\n    │   ├── base64-password.js\n    │   ├── memorable-password.js\n    │   └── strong-password.js\n    └── utils\n        ├── README.md\n        ├── randomConsonant.js\n        ├── randomNumber.js\n        ├── randomSyllable.js\n        ├── randomVowel.js\n        ├── toCamelCase\n        │   ├── README.md\n        │   └── toCamelCase.js\n        ├── toCharArray\n        │   ├── README.md\n        │   └── toCharArray.js\n        ├── toKebabCase\n        │   ├── README.md\n        │   └── toKebabCase.js\n        ├── toSnakeCase\n        │   ├── README.md\n        │   └── toSnakeCase.js\n        └── toTitleCase\n            ├── README.md\n            └── toTitleCase.js\n\n9 directories, 50 files\n```\n\n## Usage\n\nTo generate a password, you can call the Password Generator with the desired type and options. Below are examples of how to generate each type of password:\n\n### From the CLI\n\n```shell\nnode .\n```\n\nDisplays the following help menu\n\n```shell\nUsage: password-generator [options]\n\nA fast, simple and powerful open-source utility tool for generating strong, unique and random passwords\n\nOptions:\n  -v, --version              output the current version\n  -t, --type \u003ctype\u003e          specify a password type (default: \"base64, memorable or strong\")\n  -l, --length \u003cnumbers\u003e     specify a length for each iteration\n  -i, --iteration \u003cnumbers\u003e  specify a number of iteration\n  -s, --separator \u003cchar\u003e     specify a character for the separator\n  -h, --help                 display help for command\n```\n\n### From Node.js\n\n```shell\nvar generatePassword = require('password-generator');\n```\n\n### From the Browser\n\n```shell\n\u003cscript src=\"\u003chttps://raw.githubusercontent.com/sebastienrousseau/password-generator/master/src/bin/password-generator.js\u003e\" type=\"text/javascript\"\u003e\u003c/script\u003e\n```\n\n## Password options\n\n### Base64 password\n\n#### Generating a random base64 password using yarn\n\n```shell\nyarn start -t base64 -l 8 -i 4 -s -\n```\n\n#### Generating a random base64 password using node\n\n```shell\nnode . -t base64 -l 8 -i 4 -s -\n```\n\n#### Generating a random base64 password calling the base64Password function\n\n```shell\nnode dist/src/lib/base64-password.js -t base64 -l 8 -i 4 -s -\n```\n\n### Strong password\n\n#### Generating a random strong password using yarn\n\n```shell\nyarn start -t strong -l 8 -i 4 -s -\n```\n\n#### Generating a random strong password using node\n\n```shell\nnode . -t strong -l 8 -i 4 -s -\n```\n\n#### Generating a random strong password calling the strongPassword function\n\n```shell\nnode dist/src/lib/strong-password.js -t base64 -l 8 -i 4 -s -\n```\n\n### Memorable password\n\n#### Generating a random memorable password using yarn\n\n```shell\nyarn start -t memorable -i 4 -s -\n```\n\n#### Generating a random memorable password using node\n\n```shell\nnode . -t memorable -i 4 -s -\n```\n\n#### Generating a random memorable password calling the memorablePassword function\n\n```shell\nnode dist/src/lib/memorable-password.js -t base64  -i 4 -s -\n```\n\n## Semantic Versioning Policy\n\nFor transparency into our release cycle and in striving to maintain backward compatibility, `password-generator` follows [semantic versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).\n\n## Changelog\n\n-   [GitHub Releases](https://github.com/sebastienrousseau/password-generator/releases)\n\n## Contributing\n\nPlease read carefully through our [Contributing Guidelines](https://github.com/sebastienrousseau/password-generator/blob/master/.github/CONTRIBUTING.md) for further details on the process for submitting pull requests to us.\n\nDevelopment Tools\n\n-   `yarn build` runs build.\n-   `yarn clean` removes the coverage result of npm test command.\n-   `yarn coverage` shows the coverage result of npm test command.\n-   `yarn lint` run ESLint.\n-   `yarn lint-fix` instructs ESLint to try to fix as many issues as possible..\n-   `yarn test` runs tests and measures coverage.\n\n## Rules\n\nWe are committed to preserving and fostering a diverse, welcoming community. Please read our [Code of Conduct](https://github.com/sebastienrousseau/password-generator/blob/master/.github/CODE-OF-CONDUCT.md).\n\n## Our Values\n\n-   We believe perfection must consider everything.\n-   We take our passion beyond code into our daily practices.\n-   We are just obsessed about creating and delivering exceptional solutions.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/sebastienrousseau/password-generator/blob/master/LICENSE) file for details\n\n## Acknowledgements\n\n[The Password Generator Tool](https://password-generator.pro) is beautifully crafted by these people and a bunch of awesome [contributors](https://github.com/sebastienrousseau/password-generator/graphs/contributors)\n\n| Contributors |\n|---------|\n|[![Sebastien Rousseau](https://avatars0.githubusercontent.com/u/1394998?s=117)](https://sebastienrousseau.co.uk)|\n|[Sebastien Rousseau](https://github.com/sebastienrousseau)|\n\nMade with ❤ in London.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastienrousseau%2Fpassword-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastienrousseau%2Fpassword-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastienrousseau%2Fpassword-generator/lists"}