{"_id":"password-policy","_rev":"5-a3b2f7eae038cfa77a72f6e77c92467c","name":"password-policy","description":"A module to check if a password lives up to a policy.","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"password-policy","version":"0.0.1","description":"A module to check if a password lives up to a policy.","main":"index.js","scripts":{"test":"mocha --reporter spec -w"},"keywords":["password","security","password-policy"],"author":{"name":"J00nz"},"license":"ISC","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/J00nz/password-policy.git"},"gitHead":"854d86d1337264d6babc0e70234ade8839cb5144","bugs":{"url":"https://github.com/J00nz/password-policy/issues"},"homepage":"https://github.com/J00nz/password-policy#readme","_id":"password-policy@0.0.1","_shasum":"39817170752163d1af04cacb38d93c410074b4c8","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.5.0","_npmUser":{"name":"j00nz","email":"joonz.zwy@gmail.com"},"dist":{"shasum":"39817170752163d1af04cacb38d93c410074b4c8","tarball":"https://registry.npmjs.org/password-policy/-/password-policy-0.0.1.tgz","integrity":"sha512-OtgcIvZ2x1qQ97ZCymxWRXylt8bWWlaTpIb2lee7uKBL9SG9mzv8tIrMpwh2riQJUtNMRkGRZDyjbbj2DIJ3Qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCbDn5b+4S/vXNJY5l+z/275QncU8z4ehkha8rvdshwAiEAp9uMJj4tJ8UT4fm1o51ltY4YIXUvN12N0SkfS6PGxgU="}]},"maintainers":[{"name":"j00nz","email":"joonz.zwy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/password-policy-0.0.1.tgz_1479818188589_0.8174658976495266"}},"0.0.2":{"name":"password-policy","version":"0.0.2","description":"A module to check if a password lives up to a policy.","main":"index.js","scripts":{"test":"mocha --reporter spec -w"},"keywords":["password","security","password-policy"],"author":{"name":"J00nz"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/J00nz/password-policy.git"},"gitHead":"69c503c92ed03f5cc5926c5d34e8203b1504c4ee","bugs":{"url":"https://github.com/J00nz/password-policy/issues"},"homepage":"https://github.com/J00nz/password-policy#readme","_id":"password-policy@0.0.2","_shasum":"e6abcd9b781cea843e31169a2890d333e65940ec","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.5.0","_npmUser":{"name":"j00nz","email":"joonz.zwy@gmail.com"},"dist":{"shasum":"e6abcd9b781cea843e31169a2890d333e65940ec","tarball":"https://registry.npmjs.org/password-policy/-/password-policy-0.0.2.tgz","integrity":"sha512-D1o/1gy+oIOktTvgRCT6Ns1G3I+q5h4aLlBl5Eu+CAo8cNZlikXbFvXn27SXaN1gsxSiQo863lbIhX4xZSaJbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCP4mdhp/jRGKD8ccrEUM1u67KxlH74G50GERa18usLcwIgV/HkeQRNJEEuKGkLVZQuc0KwUlo9/eSPx5pbh1oksqk="}]},"maintainers":[{"name":"j00nz","email":"joonz.zwy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/password-policy-0.0.2.tgz_1479819252785_0.8311139012221247"}},"0.0.3":{"name":"password-policy","version":"0.0.3","description":"A module to check if a password lives up to a policy.","main":"index.js","scripts":{"test":"mocha --reporter spec -w"},"keywords":["password","security","password-policy"],"author":{"name":"J00nz"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/J00nz/password-policy.git"},"gitHead":"b64a696fe3611de12ea5c65d7f302fea8b3f2c51","bugs":{"url":"https://github.com/J00nz/password-policy/issues"},"homepage":"https://github.com/J00nz/password-policy#readme","_id":"password-policy@0.0.3","_shasum":"1f307642beef0541aef1970120c7afdad520b167","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.5.0","_npmUser":{"name":"j00nz","email":"joonz.zwy@gmail.com"},"dist":{"shasum":"1f307642beef0541aef1970120c7afdad520b167","tarball":"https://registry.npmjs.org/password-policy/-/password-policy-0.0.3.tgz","integrity":"sha512-tkKWhgwI3eTgJ80beCD4WpB9m5t++n3oduKDSIiTVM7gfkkTP5TH+mYKB8OWadqEumu+CNe5VKQrskhAlzGi8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0pasYV8WSFq0DPqKyAeaMaLOUZgG1zao90VTqHyMZRgIgOm4EYwg1LSoP7MsK+P0Wdqw9s+NXqBDIJ9tfTYfTTBA="}]},"maintainers":[{"name":"j00nz","email":"joonz.zwy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/password-policy-0.0.3.tgz_1479903552489_0.2522008344531059"}}},"readme":"# password-policy\r\nHelps to check a string for different types of password-policies.\r\n\r\n## Install\r\n\r\n```\r\nnpm install password-policy\r\n```\r\n\r\n## Example\r\n\r\n```js\r\nconst passwordPolicy = require('password-policy');\r\n\r\npasswordPolicy.hasLowerCase('Test'); // => true\r\n```\r\n\r\n#### Functions:\r\n  - hasUpperCase\r\n  - hasLowerCase\r\n  - hasNumber\r\n  - hasSpecialCharacter\r\n\r\n\r\n###### hasUpperCase(password, (times = 1))\r\nReturns true if the number of uppercase-characters in the password is more than times.\r\n\r\n\r\n###### hasLowerCase(password, (times = 1))\r\nReturns true if the number of lowercase-characters in the password is more than times.\r\n\r\n\r\n###### hasNumber(password, (times = 1))\r\nReturns true if the number of numeric-characters in the password is more than times.\r\n\r\n\r\n###### hasSpecialCharacter(password, (times = 1))\r\nReturns true if the number of special-characters in the password is more than times.\r\n","maintainers":[{"name":"j00nz","email":"joonz.zwy@gmail.com"}],"time":{"modified":"2022-06-23T14:00:10.919Z","created":"2016-11-22T12:36:30.696Z","0.0.1":"2016-11-22T12:36:30.696Z","0.0.2":"2016-11-22T12:54:13.476Z","0.0.3":"2016-11-23T12:19:14.680Z"},"homepage":"https://github.com/J00nz/password-policy#readme","keywords":["password","security","password-policy"],"repository":{"type":"git","url":"git+https://github.com/J00nz/password-policy.git"},"author":{"name":"J00nz"},"bugs":{"url":"https://github.com/J00nz/password-policy/issues"},"license":"MIT","readmeFilename":"README.md"}