文件名称:npm-publish-split-stream:使用jsonstream和nextify拆分npm发布请求
文件大小:8KB
文件格式:ZIP
更新时间:2024-05-28 03:10:48
JavaScript
npm-publish-split-stream 使用jsonstream和duplexify拆分npm发布请求。 用法 var PublishSplitStream = require ( 'npm-publish-split-stream' ) ; var http = require ( 'http' ) ; var zlib = require ( 'zlib' ) ; var tar = require ( 'tar' ) ; var concat = require ( 'concat-stream' ) ; http . createServer ( function ( req , res ) { // // Create a tar parser and listen for // entries from it. // var parser = t
【文件预览】:
npm-publish-split-stream-master
----LICENSE(1KB)
----test()
--------fixtures()
--------simple.test.js(950B)
----README.md(993B)
----.gitignore(526B)
----index.js(1KB)
----package.json(860B)