🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-password-strength-meter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-password-strength-meter

react component to display password strength meter

1.0.5
latest
Source
npm
Version published
Weekly downloads
6
-40%
Maintainers
1
Weekly downloads
 
Created
Source

React Password Strength Meter

React Component to display password strength meter with message and warning

Dependencies

This Component is built using Dropbox zxcvbn password strength estimator library

Installation & Usage

npm install react-password-strength-meter --save

Password Strength Meter and values

This component will 'strength' meter as prop value (type: object).

strength default value :
strength : {
  0: "Worst ☹",
  1: "Bad ☹",
  2: "Weak ☹",
  3: "Good ☺",
  4: "Strong ☻"
}

Include the Component

var React = require('react');
var PasswordStrengthMeter = require('react-password-strength-meter');

class Component extends React.Component {
  constructor(props){
    super(props);
    this.onChange = this.onChange.bind(this);
  }

  onChange(event){

  }

  render() {
    return <PasswordStrengthMeter passwordText={"Enter Password"} onChange={this.onChange} />;
  }
}

License

MIT © Abhijeet Mishra

Keywords

react

FAQs

Package last updated on 03 Dec 2015

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