{"id":18687257,"url":"https://github.com/junosuarez/npm-delegate","last_synced_at":"2025-12-17T07:48:56.724Z","repository":{"id":6141195,"uuid":"7370010","full_name":"junosuarez/npm-delegate","owner":"junosuarez","description":"a hierarchical npm-registry proxy to make private registries easier","archived":false,"fork":false,"pushed_at":"2013-12-05T00:23:45.000Z","size":144,"stargazers_count":102,"open_issues_count":0,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T23:27:47.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junosuarez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-29T20:09:41.000Z","updated_at":"2023-11-03T17:10:03.000Z","dependencies_parsed_at":"2022-09-20T00:12:11.184Z","dependency_job_id":null,"html_url":"https://github.com/junosuarez/npm-delegate","commit_stats":null,"previous_names":["jden/npm-delegate"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/junosuarez/npm-delegate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnpm-delegate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnpm-delegate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnpm-delegate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnpm-delegate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junosuarez","download_url":"https://codeload.github.com/junosuarez/npm-delegate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnpm-delegate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27779775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T10:32:12.358Z","updated_at":"2025-12-17T07:48:56.709Z","avatar_url":"https://github.com/junosuarez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-delegate\nA hierarchical npm-registry proxy to make private registries easier\n\n**Deprecation warning:** Plenty of people are using this with success, but I am no longer supporting it. Consider [Kappa](https://github.com/paypal/kappa), Paypal's fork of `npm-delegate` instead.\n\nnpm registries all the way down.\n\n## wherefore?\n\nSay you want to set up a local, private npm registry for certain modules, but\nyou still want to be able to install public modules. Sure, thanks to couchdb,\nyou could replicate the entire public registry down - but that's hundreds of\ngigabytes of extra disk space you'd need.\n\n\n                              +--+\n    +------------+            |p |\n    | client     |   'foo'?   |r |          +------------+\n    |            |  --------\u003e |o |  'foo'?  |            |\n    |            |            |x |  ------\u003e | private    |\n    |            |            |y | \u003c------  | registry   |\n    |            |            |  |    404   +------------+\n    |            |            |  |\n    |            |            |  |          'foo'?     +---------------+\n    |            |            |  |  -----------------\u003e |               |\n    |            |            |  | \u003c-----------------  |  public       |\n    |            | \u003c--------  |  |         'foo'       |  registry     |\n    +------------+    'foo'   +--+                     +---------------+\n\n\n## Install\n\n   npm install -g npm-delegate\n\n## Usage\n\nRun `npm-delegate` somewhere - possibly on the server where you're running\ncouchdb for your registry.\n\n    npm-delegate registry1 registry2 registry3\n\neg\n\n    npm-delegate -p 1337 http://localhost:5984/registry https://registry.npmjs.org\n\nuse timeout and retry in case of timeout\n\n    npm-delegate --retry 3 --timeout 10000 -p 1337 http://localhost:5984/registry https://registry.npmjs.org\n\nsetup your npm client:\n\n    npm do-some-stuff --registry http://your-delegate-host:1337\n\nList as many registries as you want in fall-back order as command line\narguments when starting `npm-delegate`.\n\n## note: proxy is read-only\n\nOnly GET requests are allowed. Strange things happens when you send\nstate-changing requests around willy-nilly, and that's probably not what you\nwant. For example, to publish a module, you probably want to specify which\nregistry you're publishing it to, eg\n\n    $ npm publish --registry http://mysweetregistry.com\n\nSee also: [how to specify a registry to publish to in your package.json](https://npmjs.org/doc/registry.html#I-don-t-want-my-package-published-in-the-official-registry-It-s-private)\n\n## faqs\n\n### does this run a registry for me?\nno\n\n### how do I set up my own private registry?\nread this: [https://github.com/isaacs/npmjs.org](https://github.com/isaacs/npmjs.org)\n\n### What is it doing?\nTurn on more logging with NODE_DEBUG environment variable:\n\n     NODE_DEBUG=\"npm-delegate,request\" npm-delegate http://registry.npmjs.org http://internal/registry\n\n### It complains about https certificates!\nTurn off strict SSL checking:\n\n     npm-delegate --no-strictssl https://registry.npmjs.org http://internal/registry\n\n### I'm behind a corporate proxy - help!\nCalm down:\n\n     npm-delegate --proxy http://corp:8080 http://registry.npmjs.org http://internal/registry\n\nIt will also pick up proxy settings from http_proxy environment variable if set.\n\n## contributors\n\n- jden \u003cjason@denizac.org\u003e\n- Gareth Jones \u003cgareth.jones@sensis.com.au\u003e\n\n## license\nMIT\n(c) 2012 jden - Jason Denizac \u003cjason@denizac.org\u003e\nhttp://jden.mit-license.org/2012\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fnpm-delegate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunosuarez%2Fnpm-delegate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fnpm-delegate/lists"}