{"id":20206758,"url":"https://github.com/enquirer/prompt-password-strength","last_synced_at":"2025-04-10T12:33:09.240Z","repository":{"id":65475888,"uuid":"91997064","full_name":"enquirer/prompt-password-strength","owner":"enquirer","description":"Custom mask function for prompt-password that adds a 'strength progress meter' that changes color as the password strength increases. Uses zxcvbn, the popular password strength estimation tool brought to you by dropbox.","archived":false,"fork":false,"pushed_at":"2017-06-02T16:44:19.000Z","size":49,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T11:13:06.982Z","etag":null,"topics":["command-line","console","enquirer","mask","meter","password","plugin","progress","prompt","strength","terminal","zxcvbn"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","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/enquirer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-22T00:42:54.000Z","updated_at":"2022-07-07T12:26:12.000Z","dependencies_parsed_at":"2023-01-25T06:15:17.280Z","dependency_job_id":null,"html_url":"https://github.com/enquirer/prompt-password-strength","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enquirer%2Fprompt-password-strength","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enquirer%2Fprompt-password-strength/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enquirer%2Fprompt-password-strength/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enquirer%2Fprompt-password-strength/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enquirer","download_url":"https://codeload.github.com/enquirer/prompt-password-strength/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773741,"owners_count":20993632,"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":["command-line","console","enquirer","mask","meter","password","plugin","progress","prompt","strength","terminal","zxcvbn"],"created_at":"2024-11-14T05:25:56.044Z","updated_at":"2025-04-10T12:33:09.192Z","avatar_url":"https://github.com/enquirer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prompt-password-strength [![NPM version](https://img.shields.io/npm/v/prompt-password-strength.svg?style=flat)](https://www.npmjs.com/package/prompt-password-strength) [![NPM monthly downloads](https://img.shields.io/npm/dm/prompt-password-strength.svg?style=flat)](https://npmjs.org/package/prompt-password-strength) [![NPM total downloads](https://img.shields.io/npm/dt/prompt-password-strength.svg?style=flat)](https://npmjs.org/package/prompt-password-strength)\n\n\u003e Custom mask function for prompt-password that adds a 'strength progress meter' that changes color as the password strength increases. Uses zxcvbn, the popular password strength estimation tool brought to you by dropbox.\n\n![prompt-password-strength example](https://raw.githubusercontent.com/enquirer/prompt-password-strength/master/example.gif)\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save prompt-password-strength\n```\n\n## Usage\n\n```js\nvar Prompt = require('prompt-password');\nvar prompt = new Prompt({\n  type: 'password',\n  message: 'Enter your password',\n  name: 'password',\n  mask: require('prompt-password-strength')\n});\n\nprompt.run()\n  .then(function(answer) {\n    console.log(answer);\n  });\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install \u0026\u0026 npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 02, 2017._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenquirer%2Fprompt-password-strength","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenquirer%2Fprompt-password-strength","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenquirer%2Fprompt-password-strength/lists"}