otp-alternate
v1.1.3
Published
Publish the first npm package
Downloads
3
Maintainers
Readme
Description
The otp-alternate package helps you to generate otp very simply with one line of code and it is for practise
Installation
To install the package just write the below command on your cli
npm i otp-alternate
Features
- Generate random otp with only one line of code
- Concate two strings
Usage
- Generate otp
// Generate otp
// import package
import otp from "otp-alternate";
// call the function
const otpValue = otp(6);
console.log(otpValue);
- Concate the two strings
// Concate two strings
// import package
import { concate } from "otp-alternate";
// call the function
const concateValue = concate("Hello", "Buddy");
console.log(concateValue);