{"action":"created","issue":{"url":"https://api.github.com/repos/npm/newww/issues/804","labels_url":"https://api.github.com/repos/npm/newww/issues/804/labels{/name}","comments_url":"https://api.github.com/repos/npm/newww/issues/804/comments","events_url":"https://api.github.com/repos/npm/newww/issues/804/events","html_url":"https://github.com/npm/newww/pull/804","id":65806248,"number":804,"title":"remove unused dependencies","user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/newww/labels/r2","name":"r2","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-02T00:30:26Z","updated_at":"2015-04-02T06:02:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/npm/newww/pulls/804","html_url":"https://github.com/npm/newww/pull/804","diff_url":"https://github.com/npm/newww/pull/804.diff","patch_url":"https://github.com/npm/newww/pull/804.patch"},"body":"I noticed a few unused dependencies introduced in a recent PR and wondered if there's a tool to track those down. Indeed there is: https://www.npmjs.com/package/depcheck\r\n\r\n```sh\r\nnpm i -g depcheck && depcheck .\r\n\r\nUnused Dependencies\r\n* accept-language-parser\r\n* alphabet\r\n* async-cache\r\n* cargo\r\n* catbox\r\n* chalk\r\n* deck\r\n* highlight.js\r\n* hiredis\r\n* nodemailer\r\n* npm-email-templates\r\n* npm-typeahead\r\n* pkgs\r\n* pretty-hrtime\r\n* semver\r\n* similarity\r\n* tough-cookie\r\n\r\nUnused devDependencies\r\n* grunt\r\n```\r\n\r\n- I didn't remove `npm-email-templates` because it is being used unconventionally with `require.resolve`.\r\n- I didn't remove `accept-language-parser` because I hope to use it for localization purposes someday."},"comment":{"url":"https://api.github.com/repos/npm/newww/issues/comments/88753983","html_url":"https://github.com/npm/newww/pull/804#issuecomment-88753983","issue_url":"https://api.github.com/repos/npm/newww/issues/804","id":88753983,"user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T06:02:39Z","updated_at":"2015-04-02T06:02:39Z","body":"@zeke I don't know what to tell you about some of these dependencies but:\r\n\r\n* my development environment would not install `newww` without `semver`.\r\n* and travis was not building without `tough-cookie `. on a branch I was on.\r\n\r\nIt seems like something strange is happening when installing `newww` from a fresh install."}}