smart-otp
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

smart-otp

This is a npm package for creating random otp autometically

just put with how many numbers or digit your otp will generate like 3,4,6,8 default it will create 5 digit otp.

If you give 0,1,2 or 10 onwards in digit it will create 5 digit otp.

Install

npm i smart-otp

Author

Ahin Subhra Das

Declaration

Require smart otp in the top of your file

const smartOtp=require('smart-otp');

Usage

  const otp = smartOtp(6); [Example: I need 6 digit otp so I put 6 ]

/smart-otp/

    Package Sidebar

    Install

    npm i smart-otp

    Weekly Downloads

    0

    Version

    1.3.3

    License

    ISC

    Unpacked Size

    2.14 kB

    Total Files

    4

    Last publish

    Collaborators

    • ahin_subhra_das