Skip to content

rorycaseyap/react-native-zxcvbn

 
 

Repository files navigation

react-native-zxcvbn

This module is a wrapper around zxcvbn4j and zxcvbn-ios.

Why? Because js module huge.

Getting started

$ yarn add react-native-zxcvbn

Mostly automatic installation

This module supports autolinking so if you use RN 0.60+ then no additional action is required.

Otherwise, run

$ react-native link react-native-zxcvbn

Usage

import { score } from 'react-native-zxcvbn';

const strength = await score(password);
console.log(strength); // 0-4

About

react-native zxcvbn bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.3%
  • Objective-C 26.5%
  • Java 19.8%
  • Ruby 15.1%
  • Starlark 3.3%