generate-six-digit-readable-code

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i generate-six-digit-readable-code

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2.92 kB

Total Files

3

Last publish

Collaborators

  • avinar