Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zxcvbn-ts/core

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zxcvbn-ts/core

Realistic password strength estimation written in typescript

  • 4.0.0-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
171K
increased by0.28%
Maintainers
1
Weekly downloads
 
Created

What is @zxcvbn-ts/core?

@zxcvbn-ts/core is a TypeScript implementation of the popular zxcvbn password strength estimator. It provides a way to evaluate the strength of passwords and offers feedback on how to improve them. This package is useful for enhancing security by ensuring users create strong passwords.

What are @zxcvbn-ts/core's main functionalities?

Password Strength Estimation

This feature allows you to estimate the strength of a given password. The result includes a score and feedback on how to improve the password.

const zxcvbn = require('@zxcvbn-ts/core');
const result = zxcvbn('password123');
console.log(result);

Feedback on Password

This feature provides feedback on the given password, suggesting ways to make it stronger.

const zxcvbn = require('@zxcvbn-ts/core');
const result = zxcvbn('password123');
console.log(result.feedback);

Password Strength Score

This feature returns a score between 0 and 4 indicating the strength of the password, with 0 being very weak and 4 being very strong.

const zxcvbn = require('@zxcvbn-ts/core');
const result = zxcvbn('password123');
console.log(result.score);

Other packages similar to @zxcvbn-ts/core

Keywords

FAQs

Package last updated on 30 Sep 2024

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