@marshal93/random-string
v0.1.1
Published
Storage - use random-string with types
Downloads
2
Readme
@marshal93/random-string
获取一个随机字符串,默认获取 6 位字符,默认字符集合 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
EXAMPLE
使用
import randomString from '@marshal93/random-string';
randomString();
// 更改长度
randomString(2);
// 更改长度和随机集合
randomString(3, '0123456789');