🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

react-component-password

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-component-password

React component input type password

latest
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

React-Component-Password

React component to manage password input. Show/Hide, strength and auto-generate passwords

  • Install

npm install react-component-password --save

  • Features

    You can use by props:

    • Show/Hide: Hide by default
    • Value: Add a value by default
    • Numbers: Boolean, put numbers in password (by default -> false)
    • Length: length of password (by default -> 10)
    • symbols: Boolean, put symbols in password (by default -> false)
    • uppercase: Boolean, use uppercase letters in password (by default -> true)

    Also, you will see the strength of the password. This strength is calculate with zxcvbn library

  • Example:

    import AppPassword from 'react-component-password';

    < AppPassword show={true} value=“12345678” numbers=“true”/>

FAQs

Package last updated on 19 Jun 2017

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