posix-head:JavaScript 中类似于 POSIX 的头部

时间:2021-06-14 20:26:30
【文件属性】:
文件名称:posix-head:JavaScript 中类似于 POSIX 的头部
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-14 20:26:30
JavaScript JavaScript 中类似于 POSIX 的head 。 命令行界面 head -n 20 long.file 应用程序接口 var Head = require ( 'posix-head' ) var head = new Head(argv) 返回一个转换流。 argv可以是: _ :参数数组,文件输入; 比如head one.js two.js three.js fs :使用 node/io 兼容的 fs 覆盖文件系统。 n :每个输入文件的前数行应复制到标准输出。 默认值为 10。 nl :指定要操作的字符。 默认为\n 。 执照 (c) 2015 年凯尔·罗宾逊·杨。 麻省理工学院执照
【文件预览】:
posix-head-master
----.gitignore(13B)
----package.json(884B)
----posix-head.js(2KB)
----bin()
--------head(219B)
----.travis.yml(552B)
----.zuul.yml(214B)
----index.js(44B)
----README.md(1KB)
----appveyor.yml(309B)
----test()
--------virtual-fs.js(557B)
--------test.js(1KB)

网友评论