{"action":"created","comment":{"url":"https://api.github.com/repos/npm/docs/pulls/comments/48167628","id":48167628,"diff_hunk":"@@ -0,0 +1,33 @@\n+<!--\n+title: 03 - npm v3\n+featured: true\n+-->\n+\n+# npm v3 Dependency Resolution\n+\n+## Example\n+\n+Imagine we have a module, A. A requires B.\n+\n+![A depends on B](/images/npm3deps1.png)\n+\n+Now, let's create an application that requires module A.\n+\n+On `npm install`, npm v3 will install both module A and it's","path":"content/how-npm-works/npm3.md","position":16,"original_position":16,"commit_id":"db07020e82b2c25a0071a4d7638f904705e7bba6","original_commit_id":"db07020e82b2c25a0071a4d7638f904705e7bba6","user":{"login":"cowperthwait","id":13108914,"avatar_url":"https://avatars.githubusercontent.com/u/13108914?v=3","gravatar_id":"","url":"https://api.github.com/users/cowperthwait","html_url":"https://github.com/cowperthwait","followers_url":"https://api.github.com/users/cowperthwait/followers","following_url":"https://api.github.com/users/cowperthwait/following{/other_user}","gists_url":"https://api.github.com/users/cowperthwait/gists{/gist_id}","starred_url":"https://api.github.com/users/cowperthwait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowperthwait/subscriptions","organizations_url":"https://api.github.com/users/cowperthwait/orgs","repos_url":"https://api.github.com/users/cowperthwait/repos","events_url":"https://api.github.com/users/cowperthwait/events{/privacy}","received_events_url":"https://api.github.com/users/cowperthwait/received_events","type":"User","site_admin":false},"body":"“both module A and its” [possessive its]","created_at":"2015-12-21T17:16:58Z","updated_at":"2015-12-21T17:16:58Z","html_url":"https://github.com/npm/docs/pull/479#discussion_r48167628","pull_request_url":"https://api.github.com/repos/npm/docs/pulls/479","_links":{"self":{"href":"https://api.github.com/repos/npm/docs/pulls/comments/48167628"},"html":{"href":"https://github.com/npm/docs/pull/479#discussion_r48167628"},"pull_request":{"href":"https://api.github.com/repos/npm/docs/pulls/479"}}},"pull_request":{"url":"https://api.github.com/repos/npm/docs/pulls/479","id":52458482,"html_url":"https://github.com/npm/docs/pull/479","diff_url":"https://github.com/npm/docs/pull/479.diff","patch_url":"https://github.com/npm/docs/pull/479.patch","issue_url":"https://api.github.com/repos/npm/docs/issues/479","number":479,"state":"open","locked":false,"title":"[WIP] add how npm works and why section to docs","user":{"login":"ashleygwilliams","id":1163554,"avatar_url":"https://avatars.githubusercontent.com/u/1163554?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"body":"fixes #473 ","created_at":"2015-12-02T21:42:27Z","updated_at":"2015-12-21T17:16:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1936fd075e501312d2037a7d78e49fd7ab4f86da","assignee":{"login":"iarna","id":983798,"avatar_url":"https://avatars.githubusercontent.com/u/983798?v=3","gravatar_id":"","url":"https://api.github.com/users/iarna","html_url":"https://github.com/iarna","followers_url":"https://api.github.com/users/iarna/followers","following_url":"https://api.github.com/users/iarna/following{/other_user}","gists_url":"https://api.github.com/users/iarna/gists{/gist_id}","starred_url":"https://api.github.com/users/iarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarna/subscriptions","organizations_url":"https://api.github.com/users/iarna/orgs","repos_url":"https://api.github.com/users/iarna/repos","events_url":"https://api.github.com/users/iarna/events{/privacy}","received_events_url":"https://api.github.com/users/iarna/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/npm/docs/pulls/479/commits","review_comments_url":"https://api.github.com/repos/npm/docs/pulls/479/comments","review_comment_url":"https://api.github.com/repos/npm/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/npm/docs/issues/479/comments","statuses_url":"https://api.github.com/repos/npm/docs/statuses/db07020e82b2c25a0071a4d7638f904705e7bba6","head":{"label":"npm:how-why","ref":"how-why","sha":"db07020e82b2c25a0071a4d7638f904705e7bba6","user":{"login":"npm","id":6078720,"avatar_url":"https://avatars.githubusercontent.com/u/6078720?v=3","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"repo":{"id":23445209,"name":"docs","full_name":"npm/docs","owner":{"login":"npm","id":6078720,"avatar_url":"https://avatars.githubusercontent.com/u/6078720?v=3","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npm/docs","description":"The place where all the npm docs live.","fork":false,"url":"https://api.github.com/repos/npm/docs","forks_url":"https://api.github.com/repos/npm/docs/forks","keys_url":"https://api.github.com/repos/npm/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npm/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npm/docs/teams","hooks_url":"https://api.github.com/repos/npm/docs/hooks","issue_events_url":"https://api.github.com/repos/npm/docs/issues/events{/number}","events_url":"https://api.github.com/repos/npm/docs/events","assignees_url":"https://api.github.com/repos/npm/docs/assignees{/user}","branches_url":"https://api.github.com/repos/npm/docs/branches{/branch}","tags_url":"https://api.github.com/repos/npm/docs/tags","blobs_url":"https://api.github.com/repos/npm/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npm/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npm/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/npm/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npm/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/npm/docs/languages","stargazers_url":"https://api.github.com/repos/npm/docs/stargazers","contributors_url":"https://api.github.com/repos/npm/docs/contributors","subscribers_url":"https://api.github.com/repos/npm/docs/subscribers","subscription_url":"https://api.github.com/repos/npm/docs/subscription","commits_url":"https://api.github.com/repos/npm/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/npm/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/npm/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/npm/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/npm/docs/contents/{+path}","compare_url":"https://api.github.com/repos/npm/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npm/docs/merges","archive_url":"https://api.github.com/repos/npm/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npm/docs/downloads","issues_url":"https://api.github.com/repos/npm/docs/issues{/number}","pulls_url":"https://api.github.com/repos/npm/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/npm/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/npm/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npm/docs/labels{/name}","releases_url":"https://api.github.com/repos/npm/docs/releases{/id}","created_at":"2014-08-28T22:37:02Z","updated_at":"2015-12-21T10:42:40Z","pushed_at":"2015-12-21T17:09:02Z","git_url":"git://github.com/npm/docs.git","ssh_url":"git@github.com:npm/docs.git","clone_url":"https://github.com/npm/docs.git","svn_url":"https://github.com/npm/docs","homepage":"https://docs.npmjs.com","size":845,"stargazers_count":42,"watchers_count":42,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":98,"forks":127,"open_issues":98,"watchers":42,"default_branch":"master"}},"base":{"label":"npm:master","ref":"master","sha":"697f1bcfa6ddfa9ba61f06551406e2c5c63cdd30","user":{"login":"npm","id":6078720,"avatar_url":"https://avatars.githubusercontent.com/u/6078720?v=3","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"repo":{"id":23445209,"name":"docs","full_name":"npm/docs","owner":{"login":"npm","id":6078720,"avatar_url":"https://avatars.githubusercontent.com/u/6078720?v=3","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npm/docs","description":"The place where all the npm docs live.","fork":false,"url":"https://api.github.com/repos/npm/docs","forks_url":"https://api.github.com/repos/npm/docs/forks","keys_url":"https://api.github.com/repos/npm/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npm/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npm/docs/teams","hooks_url":"https://api.github.com/repos/npm/docs/hooks","issue_events_url":"https://api.github.com/repos/npm/docs/issues/events{/number}","events_url":"https://api.github.com/repos/npm/docs/events","assignees_url":"https://api.github.com/repos/npm/docs/assignees{/user}","branches_url":"https://api.github.com/repos/npm/docs/branches{/branch}","tags_url":"https://api.github.com/repos/npm/docs/tags","blobs_url":"https://api.github.com/repos/npm/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npm/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npm/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/npm/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npm/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/npm/docs/languages","stargazers_url":"https://api.github.com/repos/npm/docs/stargazers","contributors_url":"https://api.github.com/repos/npm/docs/contributors","subscribers_url":"https://api.github.com/repos/npm/docs/subscribers","subscription_url":"https://api.github.com/repos/npm/docs/subscription","commits_url":"https://api.github.com/repos/npm/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/npm/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/npm/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/npm/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/npm/docs/contents/{+path}","compare_url":"https://api.github.com/repos/npm/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npm/docs/merges","archive_url":"https://api.github.com/repos/npm/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npm/docs/downloads","issues_url":"https://api.github.com/repos/npm/docs/issues{/number}","pulls_url":"https://api.github.com/repos/npm/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/npm/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/npm/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npm/docs/labels{/name}","releases_url":"https://api.github.com/repos/npm/docs/releases{/id}","created_at":"2014-08-28T22:37:02Z","updated_at":"2015-12-21T10:42:40Z","pushed_at":"2015-12-21T17:09:02Z","git_url":"git://github.com/npm/docs.git","ssh_url":"git@github.com:npm/docs.git","clone_url":"https://github.com/npm/docs.git","svn_url":"https://github.com/npm/docs","homepage":"https://docs.npmjs.com","size":845,"stargazers_count":42,"watchers_count":42,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":98,"forks":127,"open_issues":98,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/npm/docs/pulls/479"},"html":{"href":"https://github.com/npm/docs/pull/479"},"issue":{"href":"https://api.github.com/repos/npm/docs/issues/479"},"comments":{"href":"https://api.github.com/repos/npm/docs/issues/479/comments"},"review_comments":{"href":"https://api.github.com/repos/npm/docs/pulls/479/comments"},"review_comment":{"href":"https://api.github.com/repos/npm/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/npm/docs/pulls/479/commits"},"statuses":{"href":"https://api.github.com/repos/npm/docs/statuses/db07020e82b2c25a0071a4d7638f904705e7bba6"}}}}