1.2.0 • Published 7 years ago

potoroo v1.2.0

Weekly downloads
11
License
ISC
Repository
github
Last release
7 years ago

potoroo

password rules for npm

Build Status

potoroo

installation

npm install potoroo --save

usage

const Password = require('potoroo')

const username = 'auser'
const password = '12345'

isSafe = Password(username, password).isSafe
// false

err = Password(username, password).err
// UnsafePassword.Common

rules

  • Common: if the password exists on the rockyou common passwords list
  • Short: if a password is less than 7 characters
  • Username: if the password matches the username
1.2.0

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago