unpack-stream:解压tarball流

时间:2021-03-25 18:26:27
【文件属性】:
文件名称:unpack-stream:解压tarball流
文件大小:71KB
文件格式:ZIP
更新时间:2021-03-25 18:26:27
nodejs node stream tarball TypeScript v5之前的pnpm版本使用了此软件包。 由于pnpm切换到使用内容可寻址文件系统进行程序包存储,因此未使用它。 解包流 解压tarball流 安装 npm i -S unpack-stream 用法 'use strict' const got = require ( 'got' ) const unpackStream = require ( 'unpack-stream' ) const tarball = 'https://registry.npmjs.org/is-negative/-/is-negative-2.1.0.tgz' const stream = got . stream ( tarball ) unpackStream . remote ( stream , './tmp' ) . then ( index => Promise . all (
【文件预览】:
unpack-stream-master
----.gitattributes(14B)
----example.js(461B)
----src()
--------index.ts(3KB)
----.travis.yml(183B)
----tsconfig.json(548B)
----LICENSE(1KB)
----test()
--------kitsu-bad-dir-permissions-5.0.6.tgz(29KB)
--------index.ts(2KB)
--------babel-helper-hoist-variables-6.24.1.tgz(1KB)
----README.md(3KB)
----typings()
--------index.d.ts(82B)
----pnpm-lock.yaml(98KB)
----.npmrc(65B)
----renovate.json(70B)
----.editorconfig(165B)
----.gitignore(624B)
----package.json(1KB)

网友评论