{"action":"created","issue":{"url":"https://api.github.com/repos/dylang/npm-check/issues/28","labels_url":"https://api.github.com/repos/dylang/npm-check/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/dylang/npm-check/issues/28/comments","events_url":"https://api.github.com/repos/dylang/npm-check/issues/28/events","html_url":"https://github.com/dylang/npm-check/issues/28","id":96618621,"number":28,"title":"Deps used in files sans .js extension aren't found","user":{"login":"jameswomack","id":77849,"avatar_url":"https://avatars.githubusercontent.com/u/77849?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswomack","html_url":"https://github.com/jameswomack","followers_url":"https://api.github.com/users/jameswomack/followers","following_url":"https://api.github.com/users/jameswomack/following{/other_user}","gists_url":"https://api.github.com/users/jameswomack/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswomack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswomack/subscriptions","organizations_url":"https://api.github.com/users/jameswomack/orgs","repos_url":"https://api.github.com/users/jameswomack/repos","events_url":"https://api.github.com/users/jameswomack/events{/privacy}","received_events_url":"https://api.github.com/users/jameswomack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T17:10:00Z","updated_at":"2015-08-29T22:13:09Z","closed_at":"2015-08-29T22:13:09Z","body":"# How to reproduce\r\n\r\n1. Create a new project\r\n2. `npm i debug -S`\r\n3. Use \"debug\" in a file at the path bin/www (bin is a folder, www is the filename)\r\n4. Run npm-check\r\n"},"comment":{"url":"https://api.github.com/repos/dylang/npm-check/issues/comments/136056829","html_url":"https://github.com/dylang/npm-check/issues/28#issuecomment-136056829","issue_url":"https://api.github.com/repos/dylang/npm-check/issues/28","id":136056829,"user":{"login":"dylang","id":51505,"avatar_url":"https://avatars.githubusercontent.com/u/51505?v=3","gravatar_id":"","url":"https://api.github.com/users/dylang","html_url":"https://github.com/dylang","followers_url":"https://api.github.com/users/dylang/followers","following_url":"https://api.github.com/users/dylang/following{/other_user}","gists_url":"https://api.github.com/users/dylang/gists{/gist_id}","starred_url":"https://api.github.com/users/dylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylang/subscriptions","organizations_url":"https://api.github.com/users/dylang/orgs","repos_url":"https://api.github.com/users/dylang/repos","events_url":"https://api.github.com/users/dylang/events{/privacy}","received_events_url":"https://api.github.com/users/dylang/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T22:13:09Z","updated_at":"2015-08-29T22:13:09Z","body":"In your `www` file (or any without an extension) have one line:\r\n```js\r\nmodule.exports = require('./www.js'`);\r\n```\r\n\r\nAnd put your code in `www.js` instead.\r\n\r\nI don't think it make sense to check *all* files. That would mean checking css, images, files in other languages, documentation, etc. "}}