numeric-code
v1.0.4
Published
Return random numeric string with specify length (default to six)
Downloads
50
Maintainers
Readme
numericCode
Return random numeric string with specify length (default to six)
Usage: numericCode(size?: number): string
import { numericCode } from 'numeric-code'
numericCode(10)
// Output random numeric string with length of 10 characters
numericCode() // default size is six
// Output random numeric string with length of 6 characters
This module exported from utilizes project.