smart-otp
v1.3.3
Published
This is a npm package for creating random otp autometically Digit is your otp will generate with how many numbers or digit 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
Downloads
13
Maintainers
Readme
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 ]