angular-passchecker
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

angular-passchecker package

Simple password strength checker. This package was based from https://github.com/nuveo/passchecker.

Installation

  1. Install by npm:

    npm install angular-passchecker --save

Usage

import { AngularPasscheckerModule } from "angular-passchecker";
 
@NgModule({
    imports: [
        // ...
        AngularPasscheckerModule
    ],
    declarations: [
        App
    ],
    bootstrap: [
        App
    ]
})
export class AppModule {
 
}

Sample

<h3>Using safe password percent from 0 to 100.</h3>
<div>Your password is {{ password | passchecker: 'percent' }}% safe!</div>
 
<h3>Using password strength from 6.0 to 10.</h3>
<div>Your password has {{ password | passchecker: 'strength' }} of strength!</div>

Package Sidebar

Install

npm i angular-passchecker

Weekly Downloads

3

Version

1.0.2

License

SEE LICENSE IN LICENSE

Unpacked Size

44.4 kB

Total Files

34

Last publish

Collaborators

  • heltonalves