{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/npm-name-cli/issues/9","repository_url":"https://api.github.com/repos/sindresorhus/npm-name-cli","labels_url":"https://api.github.com/repos/sindresorhus/npm-name-cli/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/npm-name-cli/issues/9/comments","events_url":"https://api.github.com/repos/sindresorhus/npm-name-cli/issues/9/events","html_url":"https://github.com/sindresorhus/npm-name-cli/issues/9","id":325692013,"number":9,"title":"Error on some names","user":{"login":"astur","id":293934,"avatar_url":"https://avatars3.githubusercontent.com/u/293934?v=4","gravatar_id":"","url":"https://api.github.com/users/astur","html_url":"https://github.com/astur","followers_url":"https://api.github.com/users/astur/followers","following_url":"https://api.github.com/users/astur/following{/other_user}","gists_url":"https://api.github.com/users/astur/gists{/gist_id}","starred_url":"https://api.github.com/users/astur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astur/subscriptions","organizations_url":"https://api.github.com/users/astur/orgs","repos_url":"https://api.github.com/users/astur/repos","events_url":"https://api.github.com/users/astur/events{/privacy}","received_events_url":"https://api.github.com/users/astur/received_events","type":"User","site_admin":false},"labels":[{"id":274950247,"url":"https://api.github.com/repos/sindresorhus/npm-name-cli/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-23T12:54:05Z","updated_at":"2018-05-24T19:18:36Z","closed_at":null,"author_association":"NONE","body":"HTTPError throws when checking some package names via this cli-package. Like this:\r\n\r\n```bash\r\n~ $ npm-name f\r\nHTTPError: Response code 404 (Not Found)\r\n    at stream.catch.then.data (/usr/local/lib/node_modules/npm-name-cli/node_modules/squatter/node_modules/got/index.js:182:13)\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:188:7)\r\n```\r\n\r\n[f](https://www.npmjs.com/package/f) is real npm package.\r\n\r\nWhen using API from [npm-name](https://github.com/sindresorhus/npm-name) it will be all right for this package:\r\n\r\n```js\r\nconst nn = require('npm-name');\r\nawait nn('f') // false\r\n```\r\n\r\nI thing it is a bug."},"comment":{"url":"https://api.github.com/repos/sindresorhus/npm-name-cli/issues/comments/391828892","html_url":"https://github.com/sindresorhus/npm-name-cli/issues/9#issuecomment-391828892","issue_url":"https://api.github.com/repos/sindresorhus/npm-name-cli/issues/9","id":391828892,"user":{"login":"zeke","id":2289,"avatar_url":"https://avatars1.githubusercontent.com/u/2289?v=4","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":true},"created_at":"2018-05-24T19:18:36Z","updated_at":"2018-05-24T19:18:36Z","author_association":"NONE","body":"> check-npm-dependents\r\n\r\ngood idea, @astur.\r\n\r\nIs anyone else sad that it's 2018, npm Inc has been a funded company for 5 years, and there's still no API for this kind of thing? Seems ridiculous that we have to scrap the website for this info."}}
{"actor":{"display_login":"zeke"}}