2.0.0 • Published 12 months ago

emailotp v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Email OTP Generator

Generic OTP generator.

Installation

In the project directory, you can run:

npm i emailotp

Usage

const { generate_OTP_email, check_OTP } = require("emailotp");

generate_otp_email function that takes one argument (the email address to send the OTP to) and performs email validation before sending the OTP

This OTP details will store in local storage.

check_OTP function that takes an Input stream object containing the email ID and User entering OTP value:

userDetails = { user_email: "tester1@dso.org.sg", otp: "173923" };
check_OTP(userDetails)
2.0.0

12 months ago

1.1.11

12 months ago

1.1.10

12 months ago

1.1.9

12 months ago

1.1.8

12 months ago

1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago