New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

is-valid-password

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-valid-password

Validate password

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

is-valid-password

Validate password

Requirements

  • 8-32 characters
  • at least one lowercase letter
  • at least one uppercase letter
  • at least 1 number
  • optional special character [!@#$%^&*]

Install

npm install is-valid-password

Usage

var isValidPassword = require('is-valid-password');

isValidPassword('dfE3kds#$%') // true
isValidPassword('dfE3kds4dD') // true
isValidPassword('345dsasdff') // false
isValidPassword('34543455') // false
isValidPassword('ahjklDDf') // false
isValidPassword('d#3dA@') // false
isValidPassword('#$$%%$%$$') // false

License

MIT

Keywords

validate

FAQs

Package last updated on 22 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts