{"_id":"@emreyk1/password-utilities","_rev":"4-5a1bbafc6f0ecd0bd787bb08406f417d","name":"@emreyk1/password-utilities","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@emreyk1/password-utilities","version":"1.1.0","keywords":["isStrongPassword","generateStrongPassword"],"author":{"name":"Emre"},"license":"MIT","_id":"@emreyk1/password-utilities@1.1.0","maintainers":[{"name":"emreyk1","email":"emrecan.yueksel1@gmail.com"}],"dist":{"shasum":"f78638b8f8d36cf36d552d374f8de6f21370509c","tarball":"https://registry.npmjs.org/@emreyk1/password-utilities/-/password-utilities-1.1.0.tgz","fileCount":10,"integrity":"sha512-zpSA4L3Q17lVeCuYOS3nLBDxPOSEkiyTwLNDyez2mq3kT6geIGEH+GI7NICb/ju2+FpLAbOcyQGwmC15YuCf4g==","signatures":[{"sig":"MEUCIQDqlxM3/m9O+//p0fdkz8R2jtBk7yyakLYIMBFHUzVjWgIgC3nAeCEka57fvTPFgFTYaqEWu0gxuR2vFxRtFigSD04=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7791},"main":"src/index.js","gitHead":"e6fbbc97e9caf55c588719f84ac39b4abf813a78","scripts":{"test":"jest"},"_npmUser":{"name":"emreyk1","email":"emrecan.yueksel1@gmail.com"},"_npmVersion":"10.9.2","description":"l create a small, useful JavaScript library that provides password utility functions","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0"},"_npmOperationalInternal":{"tmp":"tmp/password-utilities_1.1.0_1776259634966_0.43701000162433545","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@emreyk1/password-utilities","version":"1.1.1","description":"l create a small, useful JavaScript library that provides password utility functions","main":"src/index.js","scripts":{"test":"jest"},"keywords":["isStrongPassword","generateStrongPassword"],"author":{"name":"Emre"},"license":"MIT","devDependencies":{"jest":"^29.0.0"},"_id":"@emreyk1/password-utilities@1.1.1","gitHead":"1934d2114f4c81828d78f44218143005a02103b8","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-nPVp+Vx0o4Ea9mjH45jedNUhCdYWmzeYRYQRhWShkehXYDDhGlaJuZxoqwp/JmkNz9AlZCWYi7wmFH6YVuT4vQ==","shasum":"599668ae842a0b8dfcf79ff22a1d6e6676bb586b","tarball":"https://registry.npmjs.org/@emreyk1/password-utilities/-/password-utilities-1.1.1.tgz","fileCount":10,"unpackedSize":7932,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDNM0xwNQHud47NjCKrLFlsN78UIMmUwSbJpr5B7QaCQAIgK03mVvPn7tVn+bUHHzaE7tkXWfhTHblCCMQYrhoO6iU="}]},"_npmUser":{"name":"emreyk1","email":"emrecan.yueksel1@gmail.com"},"directories":{},"maintainers":[{"name":"emreyk1","email":"emrecan.yueksel1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/password-utilities_1.1.1_1776261400246_0.02711446686261154"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-15T13:27:14.512Z","modified":"2026-04-15T13:56:40.574Z","1.0.0":"2026-04-15T13:17:58.846Z","1.1.0":"2026-04-15T13:27:15.109Z","1.1.1":"2026-04-15T13:56:40.447Z"},"author":{"name":"Emre"},"license":"MIT","keywords":["isStrongPassword","generateStrongPassword"],"description":"l create a small, useful JavaScript library that provides password utility functions","maintainers":[{"name":"emreyk1","email":"emrecan.yueksel1@gmail.com"}],"readme":"# @emreyk1/password-utilities\n\nA small, useful JavaScript library that provides password utility functions. This library helps you generate passwords and check their strength.\n\n## Installation\n\nYou can install the package via npm:\n\n```bash\nnpm install @emreyk1/password-utilities\n```\n\nOr via yarn:\n\n```bash\nyarn add @emreyk1/password-utilities\n```\n\n## Usage\n\n### `generateStrongPassword(length)`\n\nGenerates a random password of the specified length. The function guarantees that the returned password meets all \"strong\" criteria by internally validating it against `isStrongPassword`.\n\n```javascript\nconst { generateStrongPassword } = require('@emreyk1/password-utilities');\n\n// Generate a password with default length (12)\nconst password = generateStrongPassword();\nconsole.log(password); // Example: \"pC%mD8TpCKn2\"\n\n// Generate a password with a specific length\nconst shortPassword = generateStrongPassword(8);\nconsole.log(shortPassword); // Example: \"aB3!dE5f\"\n```\n\n### `isStrongPassword(password)`\n\nChecks if a password meets the strength criteria:\n- At least 8 characters long\n- Contains at least one uppercase letter\n- Contains at least one lowercase letter\n- Contains at least one digit\n- Contains at least one special character (`!@#$%^&*()_+`)\n\n```javascript\nconst { isStrongPassword } = require('@emreyk1/password-utilities');\n\nconsole.log(isStrongPassword(\"Hello World\")); // false\nconsole.log(isStrongPassword(\"pC%mD8TpCKn2\")); // true\n```\n\n## Features\n\n- Lightweight and easy to use.\n- Zero dependencies.\n- Written in plain JavaScript.\n\n## Documentation\n\nFor more information, please refer to the following documents:\n\n- [Contributing Guidelines](./CONTRIBUTING.md)\n- [Security Policy](./SECURITY.md)\n- [License](./LICENSE.md)\n\n## Templates\n\n- [Issue Template](./ISSUE_TEMPLATE.md)\n- [Feature Request Template](./FEATURE_REQUEST_TEMPLATE.md)\n- [Pull Request Template](./PULL_REQUEST_TEMPLATE.md)\n\n","readmeFilename":"README.md"}