{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/14210","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/14210/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/14210/comments","events_url":"https://api.github.com/repos/npm/npm/issues/14210/events","html_url":"https://github.com/npm/npm/issues/14210","id":181801120,"number":14210,"title":"Store mutilpe version modules in only one repository like maven","user":{"login":"DonaldDu","id":10554912,"avatar_url":"https://avatars.githubusercontent.com/u/10554912?v=3","gravatar_id":"","url":"https://api.github.com/users/DonaldDu","html_url":"https://github.com/DonaldDu","followers_url":"https://api.github.com/users/DonaldDu/followers","following_url":"https://api.github.com/users/DonaldDu/following{/other_user}","gists_url":"https://api.github.com/users/DonaldDu/gists{/gist_id}","starred_url":"https://api.github.com/users/DonaldDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonaldDu/subscriptions","organizations_url":"https://api.github.com/users/DonaldDu/orgs","repos_url":"https://api.github.com/users/DonaldDu/repos","events_url":"https://api.github.com/users/DonaldDu/events{/privacy}","received_events_url":"https://api.github.com/users/DonaldDu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"98DCFF"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-08T03:17:21Z","updated_at":"2016-10-08T03:45:41Z","closed_at":"2016-10-08T03:45:41Z","body":"### Store mutilpe version modules in only one repository like maven\r\nI think we should store mutiple version modules in locall center repository like maven, not in project. "},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/252400466","html_url":"https://github.com/npm/npm/issues/14210#issuecomment-252400466","issue_url":"https://api.github.com/repos/npm/npm/issues/14210","id":252400466,"user":{"login":"othiym23","id":418097,"avatar_url":"https://avatars.githubusercontent.com/u/418097?v=3","gravatar_id":"","url":"https://api.github.com/users/othiym23","html_url":"https://github.com/othiym23","followers_url":"https://api.github.com/users/othiym23/followers","following_url":"https://api.github.com/users/othiym23/following{/other_user}","gists_url":"https://api.github.com/users/othiym23/gists{/gist_id}","starred_url":"https://api.github.com/users/othiym23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/othiym23/subscriptions","organizations_url":"https://api.github.com/users/othiym23/orgs","repos_url":"https://api.github.com/users/othiym23/repos","events_url":"https://api.github.com/users/othiym23/events{/privacy}","received_events_url":"https://api.github.com/users/othiym23/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T03:45:41Z","updated_at":"2016-10-08T03:45:41Z","body":"npm already does something like this for the cache (which lives under `$HOME/.npm` by default). This is what keeps npm from having to redownload a package each time you install it (although it does do freshness checks). For local installs, the `node_modules` tree is laid out the way it is to work with the Node.js module loader, as I just referred to in #14211.\r\n\r\nIf you want to save some disk space, you might want to take a look at [`ied`](http://npm.im/ied), [`pnpm`](http://npm.im/pnpm), or [`npm-install`](http://npm.im/npm-install), which are alternative npm installers that do something similar to what you're requesting, although their caching strategy is quite different from the npm CLI's. If you want something that looks more like a Maven-style layout, though, you may be out of luck, because again, module resolution is defined by the Node.js runtime and not npm. Thanks for your time!"}}
{"actor":{"display_login":"othiym23"}}