We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
数据生成器:./generator/index.js
提供了 7 个函数:
getRandomNumber
getRandomString
getRandomNumbers
getDescRandomNumbers
getEscRandomNumbers
getRandomStrings
noRepeat
传参也具备鲁棒性,比如 getRandomNumbers:
getRandomNumbers();
getRandomNumbers(amount);
getRandomNumbers(min, max);
getRandomNumbers(amount, min, max);
默认长度为 20,随机数区间为 [0, 1E5],随机字符串区间为 a-zA-Z0-9_。
[0, 1E5]
a-zA-Z0-9_
后续会根据需要补充更多随机函数。
The text was updated successfully, but these errors were encountered:
Merge pull request #2 from barretlee/master
a03dc99
Merge pull request #17 from StevenYuysy/master
No branches or pull requests
数据生成器:./generator/index.js
提供了 7 个函数:
getRandomNumber
,生成一个随机数getRandomString
,生成一个随机字符串getRandomNumbers
,生成一个随机数组getDescRandomNumbers
,同上,倒序getEscRandomNumbers
,同上,顺序getRandomStrings
,生成一串随机字符串noRepeat
,字符串/数组去重传参也具备鲁棒性,比如
getRandomNumbers
:getRandomNumbers();
getRandomNumbers(amount);
getRandomNumbers(min, max);
getRandomNumbers(amount, min, max);
默认长度为 20,随机数区间为
[0, 1E5]
,随机字符串区间为a-zA-Z0-9_
。后续会根据需要补充更多随机函数。
The text was updated successfully, but these errors were encountered: