generate-sms-verification-code
v1.0.5
Published
Generates an sms verification code that is only numbers as a string or a number depending on arguments that are passed
Downloads
2,640
Readme
generate-sms-verification-code
Installation
To install generate-sms-verification-code, use npm:
npm install generate-sms-verification-codeUsage
var phoneToken = require('generate-sms-verification-code')
var generatedToken = phoneNumberToken(8, {type: 'number'})API
phoneToken(length, options)
options- the length of the random string. [REQUIRED]typenumberstring
Tests
npm install
npm testLICENSE
generate-sms-verification-code is licensed under the MIT license.
