{"action":"opened","issue":{"url":"https://api.github.com/repos/Canner/npm-check-install/issues/3","repository_url":"https://api.github.com/repos/Canner/npm-check-install","labels_url":"https://api.github.com/repos/Canner/npm-check-install/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Canner/npm-check-install/issues/3/comments","events_url":"https://api.github.com/repos/Canner/npm-check-install/issues/3/events","html_url":"https://github.com/Canner/npm-check-install/issues/3","id":368504220,"node_id":"MDU6SXNzdWUzNjg1MDQyMjA=","number":3,"title":"npm list should specific package name","user":{"login":"chilijung","id":1216029,"node_id":"MDQ6VXNlcjEyMTYwMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/1216029?v=4","gravatar_id":"","url":"https://api.github.com/users/chilijung","html_url":"https://github.com/chilijung","followers_url":"https://api.github.com/users/chilijung/followers","following_url":"https://api.github.com/users/chilijung/following{/other_user}","gists_url":"https://api.github.com/users/chilijung/gists{/gist_id}","starred_url":"https://api.github.com/users/chilijung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilijung/subscriptions","organizations_url":"https://api.github.com/users/chilijung/orgs","repos_url":"https://api.github.com/users/chilijung/repos","events_url":"https://api.github.com/users/chilijung/events{/privacy}","received_events_url":"https://api.github.com/users/chilijung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"chihsuan","id":4344253,"node_id":"MDQ6VXNlcjQzNDQyNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/4344253?v=4","gravatar_id":"","url":"https://api.github.com/users/chihsuan","html_url":"https://github.com/chihsuan","followers_url":"https://api.github.com/users/chihsuan/followers","following_url":"https://api.github.com/users/chihsuan/following{/other_user}","gists_url":"https://api.github.com/users/chihsuan/gists{/gist_id}","starred_url":"https://api.github.com/users/chihsuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chihsuan/subscriptions","organizations_url":"https://api.github.com/users/chihsuan/orgs","repos_url":"https://api.github.com/users/chihsuan/repos","events_url":"https://api.github.com/users/chihsuan/events{/privacy}","received_events_url":"https://api.github.com/users/chihsuan/received_events","type":"User","site_admin":false},"assignees":[{"login":"chihsuan","id":4344253,"node_id":"MDQ6VXNlcjQzNDQyNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/4344253?v=4","gravatar_id":"","url":"https://api.github.com/users/chihsuan","html_url":"https://github.com/chihsuan","followers_url":"https://api.github.com/users/chihsuan/followers","following_url":"https://api.github.com/users/chihsuan/following{/other_user}","gists_url":"https://api.github.com/users/chihsuan/gists{/gist_id}","starred_url":"https://api.github.com/users/chihsuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chihsuan/subscriptions","organizations_url":"https://api.github.com/users/chihsuan/orgs","repos_url":"https://api.github.com/users/chihsuan/repos","events_url":"https://api.github.com/users/chihsuan/events{/privacy}","received_events_url":"https://api.github.com/users/chihsuan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-10T05:52:05Z","updated_at":"2018-10-10T05:52:05Z","closed_at":null,"author_association":"MEMBER","body":"https://github.com/Canner/npm-check-install/blob/master/src/checkPkg.js#L8\r\n\r\nNow we are listing all package name and find a specific package, which is causing unnecessary memory caching and performance issue, it can be simply done by `npm ls --json --parseable --depth=0 antd`\r\n```\r\n lijungchi@Lide-MacBook-Air  ~/Documents/canner-platform/packages/cli   master ●  npm ls --json --parseable --depth=0 antd\r\n{\r\n  \"name\": \"@canner/cli\",\r\n  \"version\": \"2.5.2\",\r\n  \"dependencies\": {\r\n    \"antd\": {\r\n      \"version\": \"3.10.0\",\r\n      \"from\": \"antd@^3.10.0\",\r\n      \"resolved\": \"https://registry.npmjs.org/antd/-/antd-3.10.0.tgz\"\r\n    }\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"chilijung"}}