{"action":"created","issue":{"url":"https://api.github.com/repos/cnpm/npminstall/issues/18","repository_url":"https://api.github.com/repos/cnpm/npminstall","labels_url":"https://api.github.com/repos/cnpm/npminstall/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/cnpm/npminstall/issues/18/comments","events_url":"https://api.github.com/repos/cnpm/npminstall/issues/18/events","html_url":"https://github.com/cnpm/npminstall/pull/18","id":135354935,"number":18,"title":"specific install directory","user":{"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},"labels":[{"url":"https://api.github.com/repos/cnpm/npminstall/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":3,"created_at":"2016-02-22T08:51:07Z","updated_at":"2016-02-22T13:50:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cnpm/npminstall/pulls/18","html_url":"https://github.com/cnpm/npminstall/pull/18","diff_url":"https://github.com/cnpm/npminstall/pull/18.diff","patch_url":"https://github.com/cnpm/npminstall/pull/18.patch"},"body":"用来支持 `cnpm install -g module`"},"comment":{"url":"https://api.github.com/repos/cnpm/npminstall/issues/comments/187184037","html_url":"https://github.com/cnpm/npminstall/pull/18#issuecomment-187184037","issue_url":"https://api.github.com/repos/cnpm/npminstall/issues/18","id":187184037,"user":{"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},"created_at":"2016-02-22T13:50:05Z","updated_at":"2016-02-22T13:50:05Z","body":"现在 local 的模块相对路径是基于 root 来解的，除非我们都改成用 cwd 来解，因为 `./package` 直接用 npa 解的时候它就用 cwd 的"}}