【文件属性】:
文件名称:tap-nyan:点击-> nyan
文件大小:5KB
文件格式:ZIP
更新时间:2021-03-02 01:13:56
JavaScript
Tap-Nyan
NYAN TAP输出受启发从摩卡(Mocha)的公然复制,并取材自Scott Corgan出色的许多材料。 目前非常粗糙。
颜色
在不支持256色的终端上,Nyan cat配色方案将自动降级为ANSI。
有关CLI的颜色选项,请参阅模块。
安装
npm install tap-nyan --save-dev
用法
packge.json
{
" name " : " module-name " ,
" scripts " : {
" test " : " node ./test/tap-test.js | tnyan "
}
}
然后用npm test运行
终端
node test/test.js | node_modules/.bin/tnyan
测试
npm install testling -g
testling test/test.j
【文件预览】:
tap-nyan-master
----.gitignore(100B)
----package.json(744B)
----bin()
--------cmd.js(217B)
--------nyan.js(6KB)
----index.js(2KB)
----README.md(959B)
----AUTHORS(85B)
----test()
--------test.js(507B)