pacote:高于海拔高度的提取器

时间:2021-04-28 06:06:38
【文件属性】:
文件名称:pacote:高于海拔高度的提取器
文件大小:162KB
文件格式:ZIP
更新时间:2021-04-28 06:06:38
JavaScript 膏药 从npm注册表中获取软件包清单和tarball。 用法 const pacote = require ( 'pacote' ) // get a package manifest pacote . manifest ( 'foo@1.x' ) . then ( manifest => console . log ( 'got it' , manifest ) ) // extract a package into a folder pacote . extract ( 'github:npm/cli' , 'some/path' , options ) . then ( ( { from , resolved , integrity } ) => { console . log ( 'extracted!' , from , resolved , integrity )
【文件预览】:
pacote-latest
----.gitignore(265B)
----README.md(11KB)
----.github()
--------workflows()
--------settings.yml(48B)
----test()
--------dir.js(6KB)
--------bin.js(4KB)
--------git.js(22KB)
--------remote.js(5KB)
--------fixtures()
--------fetcher.js(16KB)
--------index.js(2KB)
--------registry.js(8KB)
--------file.js(2KB)
--------util()
----LICENSE(791B)
----package.json(1KB)
----tap-snapshots()
--------test()
----lib()
--------dir.js(3KB)
--------bin.js(4KB)
--------git.js(11KB)
--------remote.js(3KB)
--------fetcher.js(17KB)
--------index.js(826B)
--------registry.js(7KB)
--------file.js(3KB)
--------util()
----map.js(61B)
----package-lock.json(332KB)

网友评论