New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

otpfiy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

otpfiy

One Time Password generator for different applications

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

OTPfiy 🔐

One Time Password generator for different applications

Intallation

npm i otpfiy

About OTPfiy

Generate otp with generateOTP function.

generateOTP function takes in two parameters.

generateOTP(false,6)
generateOTP(true,6)

1st parameter is of boolean type which is alphanumeric If false it will only generate numeric characters.

2nd paramerter is the length of the OTP.

How to use?

const otpfiy = require('otpfiy')
const otp1 = otpfiy.generateOTP(false,6)
const otp2 = otpfiy.generateOTP(true,8)

console.log(otp1) //returns 653734 
console.log(otp2) //returns D7H7E3H7

Keywords

OTP (One-Time Password)

FAQs

Package last updated on 23 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts