gernerate-otp

1.0.3 • Public • Published

Generate-otp

npm package to generate OTP of customizable length.

Installation

npm install generate-otp

Usage

const generateOtp = require('generate-otp')

const otp = generateOtp.generate(4)

Arguments

length(optional) - length of OTP. Default value is 6.

Readme

Keywords

Package Sidebar

Install

npm i gernerate-otp

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

1.07 kB

Total Files

3

Last publish

Collaborators

  • vidhi_bahal