A simple password strength checker angular package.
npm install angular-passcheckerSimple password strength checker. This package was based from https://github.com/nuveo/passchecker.
1. Install by npm:
npm install angular-passchecker --save
``typescript
import { AngularPasscheckerModule } from "angular-passchecker";
@NgModule({
imports: [
// ...
AngularPasscheckerModule
],
declarations: [
App
],
bootstrap: [
App
]
})
export class AppModule {
}
`
`htmlUsing safe password percent from 0 to 100.
Your password is {{ password | passchecker: 'percent' }}% safe!