1.0.4 • Published 3 years ago

numeric-code v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

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.