1.0.2 • Published 3 years ago

generate-six-digit-readable-code v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Generate random 6-digit easy to memorize instantly

This package generates random 6-digit number for sms/email/auth confirmation.

All numbers generated have following zeros by 2 digit.

All numbers generated have repeated digit nearby.

All numbers can be memorize for just a few second easily and provide convenience for users that are having codes on notification bars on their phone.

The big concern is repeated number or avoid guessing due to simplified method to generate this kind of numbers.

To be considered that on my experiment on every attempt of generating new codes repeated number occurrences but the average occurrence is almost 100 times to guess the ### number .

This is for one time confirmation of email or mobile number .

Don't use this packages users peer action confirmation.

Use the code by your own risk.

Installation

Use the following command .

npm i generate-six-digit-readable-code --save

Usage

const create6digitReadable = require('generate-six-digit-readable-code');
console.log(create6digitReadable()); // returns the generated code