1.0.0 • Published 4 years ago
@feizheng/next-random-nickname v1.0.0
next-random-nickname
Random nickname.
installation
npm install -S @feizheng/next-random-nickname
apis
api | params | description |
---|---|---|
get | - | desc balabala |
usage
import NxRandomNickname from '@feizheng/next-random-nickname';
// generate an array:
const results = [];
for (let index = 0; index < 10; index++) {
results.push(NxRandomNickname.get());
}
console.log(results);
// random:
[ '豪气的木瓜',
'纯真的油条',
'从未表白的帽子',
'高大的泡面',
'要出家的馒头',
'傻傻的黄豆',
'乖乖的松球',
'沉稳的饭卡',
'爱搭讪的奔马',
'飘逸的遥控器' ]
resources
license
Code released under the MIT license.
1.0.0
4 years ago