{"action":"closed","number":72,"pull_request":{"url":"https://api.github.com/repos/cnpm/cnpm/pulls/72","id":46857469,"html_url":"https://github.com/cnpm/cnpm/pull/72","diff_url":"https://github.com/cnpm/cnpm/pull/72.diff","patch_url":"https://github.com/cnpm/cnpm/pull/72.patch","issue_url":"https://api.github.com/repos/cnpm/cnpm/issues/72","number":72,"state":"closed","locked":false,"title":"feat: upgrade to npm3 and use npminstall","user":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"body":"cnpm install 4x faster: `$ cnpm install cnpmjs.org`\r\n\r\n- Before: `cnpm@3.4.1`\r\n\r\n```bash\r\n$ cnpm cache clean\r\n$ time cnpm install cnpmjs.org\r\n\r\nreal\t0m24.370s\r\nuser\t0m12.982s\r\nsys\t0m4.170s\r\n```\r\n\r\n- After: `cnpm@4.2.0`\r\n\r\n```bas\r\n$ cnpm cache clean\r\n$ time cnpm install cnpmjs.org --no-cache\r\n\r\n[cnpmjs.org@*] installed at node_modules/.npminstall/cnpmjs.org/2.8.0/cnpmjs.org (0 packages, use 5s, speed 1.04MB/s, json 1.44MB, tarball 3.74MB)\r\nAll packages installed (215 packages installed from npm registry, use 5s, speed 1.03MB/s, json 266(1.44MB), tarball 3.74MB)\r\n\r\nreal\t0m6.220s\r\nuser\t0m4.871s\r\nsys\t0m2.072s\r\n```\r\n\r\nWhy we can improve the install speed? Check out [npminstall](https://github.com/cnpm/npminstall) and take a look.","created_at":"2015-10-06T02:47:39Z","updated_at":"2016-03-11T16:45:51Z","closed_at":"2016-03-11T16:45:51Z","merged_at":"2016-03-11T16:45:51Z","merge_commit_sha":"5e37076d178bc9f292355f9a46d8b335fefa7776","assignee":{"login":"dead-horse","id":985607,"avatar_url":"https://avatars.githubusercontent.com/u/985607?v=3","gravatar_id":"","url":"https://api.github.com/users/dead-horse","html_url":"https://github.com/dead-horse","followers_url":"https://api.github.com/users/dead-horse/followers","following_url":"https://api.github.com/users/dead-horse/following{/other_user}","gists_url":"https://api.github.com/users/dead-horse/gists{/gist_id}","starred_url":"https://api.github.com/users/dead-horse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead-horse/subscriptions","organizations_url":"https://api.github.com/users/dead-horse/orgs","repos_url":"https://api.github.com/users/dead-horse/repos","events_url":"https://api.github.com/users/dead-horse/events{/privacy}","received_events_url":"https://api.github.com/users/dead-horse/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/cnpm/cnpm/pulls/72/commits","review_comments_url":"https://api.github.com/repos/cnpm/cnpm/pulls/72/comments","review_comment_url":"https://api.github.com/repos/cnpm/cnpm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cnpm/cnpm/issues/72/comments","statuses_url":"https://api.github.com/repos/cnpm/cnpm/statuses/8361cbc47cded981765ca40b9be0c64abc1b6ae6","head":{"label":"cnpm:npm3","ref":"npm3","sha":"8361cbc47cded981765ca40b9be0c64abc1b6ae6","user":{"login":"cnpm","id":6365106,"avatar_url":"https://avatars.githubusercontent.com/u/6365106?v=3","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"repo":{"id":15042339,"name":"cnpm","full_name":"cnpm/cnpm","owner":{"login":"cnpm","id":6365106,"avatar_url":"https://avatars.githubusercontent.com/u/6365106?v=3","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cnpm/cnpm","description":"cnpm: npm client for China mirror of npm","fork":false,"url":"https://api.github.com/repos/cnpm/cnpm","forks_url":"https://api.github.com/repos/cnpm/cnpm/forks","keys_url":"https://api.github.com/repos/cnpm/cnpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnpm/cnpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnpm/cnpm/teams","hooks_url":"https://api.github.com/repos/cnpm/cnpm/hooks","issue_events_url":"https://api.github.com/repos/cnpm/cnpm/issues/events{/number}","events_url":"https://api.github.com/repos/cnpm/cnpm/events","assignees_url":"https://api.github.com/repos/cnpm/cnpm/assignees{/user}","branches_url":"https://api.github.com/repos/cnpm/cnpm/branches{/branch}","tags_url":"https://api.github.com/repos/cnpm/cnpm/tags","blobs_url":"https://api.github.com/repos/cnpm/cnpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnpm/cnpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnpm/cnpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnpm/cnpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnpm/cnpm/statuses/{sha}","languages_url":"https://api.github.com/repos/cnpm/cnpm/languages","stargazers_url":"https://api.github.com/repos/cnpm/cnpm/stargazers","contributors_url":"https://api.github.com/repos/cnpm/cnpm/contributors","subscribers_url":"https://api.github.com/repos/cnpm/cnpm/subscribers","subscription_url":"https://api.github.com/repos/cnpm/cnpm/subscription","commits_url":"https://api.github.com/repos/cnpm/cnpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnpm/cnpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnpm/cnpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnpm/cnpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnpm/cnpm/contents/{+path}","compare_url":"https://api.github.com/repos/cnpm/cnpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnpm/cnpm/merges","archive_url":"https://api.github.com/repos/cnpm/cnpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnpm/cnpm/downloads","issues_url":"https://api.github.com/repos/cnpm/cnpm/issues{/number}","pulls_url":"https://api.github.com/repos/cnpm/cnpm/pulls{/number}","milestones_url":"https://api.github.com/repos/cnpm/cnpm/milestones{/number}","notifications_url":"https://api.github.com/repos/cnpm/cnpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnpm/cnpm/labels{/name}","releases_url":"https://api.github.com/repos/cnpm/cnpm/releases{/id}","deployments_url":"https://api.github.com/repos/cnpm/cnpm/deployments","created_at":"2013-12-09T08:48:58Z","updated_at":"2016-03-09T06:43:17Z","pushed_at":"2016-03-11T16:45:51Z","git_url":"git://github.com/cnpm/cnpm.git","ssh_url":"git@github.com:cnpm/cnpm.git","clone_url":"https://github.com/cnpm/cnpm.git","svn_url":"https://github.com/cnpm/cnpm","homepage":"https://npm.taobao.org","size":157,"stargazers_count":254,"watchers_count":254,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":2,"forks":40,"open_issues":2,"watchers":254,"default_branch":"master"}},"base":{"label":"cnpm:master","ref":"master","sha":"927eaaa39a6dbcf9ef48aeb900512fc19cb68e79","user":{"login":"cnpm","id":6365106,"avatar_url":"https://avatars.githubusercontent.com/u/6365106?v=3","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"repo":{"id":15042339,"name":"cnpm","full_name":"cnpm/cnpm","owner":{"login":"cnpm","id":6365106,"avatar_url":"https://avatars.githubusercontent.com/u/6365106?v=3","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cnpm/cnpm","description":"cnpm: npm client for China mirror of npm","fork":false,"url":"https://api.github.com/repos/cnpm/cnpm","forks_url":"https://api.github.com/repos/cnpm/cnpm/forks","keys_url":"https://api.github.com/repos/cnpm/cnpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnpm/cnpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnpm/cnpm/teams","hooks_url":"https://api.github.com/repos/cnpm/cnpm/hooks","issue_events_url":"https://api.github.com/repos/cnpm/cnpm/issues/events{/number}","events_url":"https://api.github.com/repos/cnpm/cnpm/events","assignees_url":"https://api.github.com/repos/cnpm/cnpm/assignees{/user}","branches_url":"https://api.github.com/repos/cnpm/cnpm/branches{/branch}","tags_url":"https://api.github.com/repos/cnpm/cnpm/tags","blobs_url":"https://api.github.com/repos/cnpm/cnpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnpm/cnpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnpm/cnpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnpm/cnpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnpm/cnpm/statuses/{sha}","languages_url":"https://api.github.com/repos/cnpm/cnpm/languages","stargazers_url":"https://api.github.com/repos/cnpm/cnpm/stargazers","contributors_url":"https://api.github.com/repos/cnpm/cnpm/contributors","subscribers_url":"https://api.github.com/repos/cnpm/cnpm/subscribers","subscription_url":"https://api.github.com/repos/cnpm/cnpm/subscription","commits_url":"https://api.github.com/repos/cnpm/cnpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnpm/cnpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnpm/cnpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnpm/cnpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnpm/cnpm/contents/{+path}","compare_url":"https://api.github.com/repos/cnpm/cnpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnpm/cnpm/merges","archive_url":"https://api.github.com/repos/cnpm/cnpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnpm/cnpm/downloads","issues_url":"https://api.github.com/repos/cnpm/cnpm/issues{/number}","pulls_url":"https://api.github.com/repos/cnpm/cnpm/pulls{/number}","milestones_url":"https://api.github.com/repos/cnpm/cnpm/milestones{/number}","notifications_url":"https://api.github.com/repos/cnpm/cnpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnpm/cnpm/labels{/name}","releases_url":"https://api.github.com/repos/cnpm/cnpm/releases{/id}","deployments_url":"https://api.github.com/repos/cnpm/cnpm/deployments","created_at":"2013-12-09T08:48:58Z","updated_at":"2016-03-09T06:43:17Z","pushed_at":"2016-03-11T16:45:51Z","git_url":"git://github.com/cnpm/cnpm.git","ssh_url":"git@github.com:cnpm/cnpm.git","clone_url":"https://github.com/cnpm/cnpm.git","svn_url":"https://github.com/cnpm/cnpm","homepage":"https://npm.taobao.org","size":157,"stargazers_count":254,"watchers_count":254,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":2,"forks":40,"open_issues":2,"watchers":254,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cnpm/cnpm/pulls/72"},"html":{"href":"https://github.com/cnpm/cnpm/pull/72"},"issue":{"href":"https://api.github.com/repos/cnpm/cnpm/issues/72"},"comments":{"href":"https://api.github.com/repos/cnpm/cnpm/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/cnpm/cnpm/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/cnpm/cnpm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cnpm/cnpm/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/cnpm/cnpm/statuses/8361cbc47cded981765ca40b9be0c64abc1b6ae6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"comments":26,"review_comments":9,"commits":7,"additions":56,"deletions":112,"changed_files":11}}