文件名称:npm-registry-client
文件大小:190KB
文件格式:ZIP
更新时间:2024-05-22 10:04:27
JavaScript
npm-registry-client npm用于与注册表对话的代码。 它处理所有缓存和HTTP调用。 用法 var RegClient = require ( 'npm-registry-client' ) var client = new RegClient ( config ) var uri = "https://registry.npmjs.org/npm" var params = { timeout : 1000 } client . get ( uri , params , function ( error , data , raw , res ) { // error is an error if there was a problem. // data is the parsed data object // raw is the json string
【文件预览】:
npm-registry-client-latest
----lib()
--------authify.js(815B)
--------logout.js(722B)
--------send-anonymous-CLI-metrics.js(533B)
--------access.js(5KB)
--------adduser.js(4KB)
--------deprecate.js(1KB)
--------whoami.js(665B)
--------star.js(1KB)
--------initialize.js(3KB)
--------request.js(10KB)
--------team.js(3KB)
--------get.js(651B)
--------stars.js(651B)
--------attempt.js(487B)
--------fetch.js(2KB)
--------publish.js(6KB)
--------dist-tags()
--------ping.js(661B)
--------org.js(2KB)
--------tag.js(690B)
--------unpublish.js(4KB)
----.travis.yml(439B)
----LICENSE(765B)
----test()
--------logout.js(2KB)
--------get-basic.js(2KB)
--------fetch-503.js(1KB)
--------zz-cleanup.js(257B)
--------access.js(11KB)
--------adduser-update.js(2KB)
--------adduser.js(3KB)
--------deprecate.js(5KB)
--------publish-scoped-auth-token.js(2KB)
--------fetch-408.js(1KB)
--------dist-tags-set.js(3KB)
--------whoami.js(2KB)
--------fetch-404.js(883B)
--------00-setup.js(254B)
--------star.js(4KB)
--------initialize.js(4KB)
--------publish-mixcase-name.js(2KB)
--------adduser-new.js(1KB)
--------publish-again-scoped.js(2KB)
--------request.js(8KB)
--------config-defaults.js(2KB)
--------team.js(6KB)
--------fixtures()
--------fetch-github-api-json.js(2KB)
--------dist-tags-fetch.js(2KB)
--------lib()
--------dist-tags-add.js(3KB)
--------fetch-authed.js(1KB)
--------fetch-not-authed.js(1KB)
--------redirects.js(1KB)
--------publish-again.js(2KB)
--------fetch-basic.js(2KB)
--------publish-new-mixcase-name.js(2KB)
--------publish-failed-no-message.js(1KB)
--------publish-scoped.js(2KB)
--------stars.js(2KB)
--------config-override.js(2KB)
--------fetch-streaming.js(1KB)
--------dist-tags-rm.js(3KB)
--------publish.js(5KB)
--------get-error-403.js(893B)
--------ping.js(2KB)
--------send-anon-metrics.js(2KB)
--------org.js(2KB)
--------unpublish-scoped.js(1KB)
--------request-gzip-content.js(2KB)
--------econnreset.js(2KB)
--------tag.js(2KB)
--------retries.js(1KB)
--------unpublish.js(2KB)
--------dist-tags-update.js(3KB)
--------get-403.js(747B)
----README.md(13KB)
----.gitignore(79B)
----index.js(3KB)
----CHANGELOG.md(788B)
----package-lock.json(214KB)
----package.json(1KB)