New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-password-strength

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-password-strength

A password strength component for Angular 2+

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-21.05%
Maintainers
1
Weekly downloads
 
Created
Source

ngx-password-strength

A password strength component for Angular 2+ (基于angular 2+ 的密码强度组件)

安装

npm install ngx-password-strength --save

使用

  • 安装依赖包:ngx-password-strength
npm install ngx-password-strength --save
  • 在module导入NgxPasswordStrengthModule
import { NgxPasswordStrengthModule } from 'ngx-password-strength';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    NgxPasswordStrengthModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
  • 在模板页面使用
<ngx-password-strength [checkPassword]="password"></ngx-password-strength>

文档

  • colors - Array<String> - 密码强度颜色
  • checkPassword - String - 检查密码

支持

  • 如果项目对你有帮助,请点颗星:star:,谢谢。
  • 如果你对项目有想法、问题、BUG,欢迎讨论。

Keywords

FAQs

Package last updated on 24 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc