0.0.1 • Published 8 years ago

random-chinese-cheats-name v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 years ago

Instructions for use about random-chinese-cheats-name

1. Install

$ npm install random-chinese-cheats-name

2. Usage

const randomChineseCheatsName = require('random-chinese-cheats-name');

const arr = randomChineseCheatsName.getName();

console.log(arr);

Parameter Description

const randomChineseCheatsName = require("random-chinese-cheats-name");

const log = console.log;

/**
 * Default parameter setting
 * --------------------------
 * randomChineseCheatsName.getName() = randomChineseCheatsName.getName(1000);
 * --------------------------------------------------------------------
 * note :  The parameter can not be two or more than two,
 * otherwise execute the function according to the default parameters!
 * --------------------------------------------------------------------
 * @param {number} quantity
 * ------------------------
 * @return List
 */

log(randomChineseCheatsName.getName());
=> ['天山六阳鞭','十三霸王功','生死经','七伤剑','华山宝典'... 995 more items];

// The specified number is 6
log(randomChineseCheatsName.getName(6));
=> ['逍遥功法','折梅剑法','八卦游龙典','飘雪穿云经','太祖手法'];

Stay tuned for more naming features