{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ama/issues/10","labels_url":"https://api.github.com/repos/sindresorhus/ama/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ama/issues/10/comments","events_url":"https://api.github.com/repos/sindresorhus/ama/issues/10/events","html_url":"https://github.com/sindresorhus/ama/issues/10","id":92377775,"number":10,"title":"One-line node modules","user":{"login":"hemanth","id":18315,"avatar_url":"https://avatars.githubusercontent.com/u/18315?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanth","html_url":"https://github.com/hemanth","followers_url":"https://api.github.com/users/hemanth/followers","following_url":"https://api.github.com/users/hemanth/following{/other_user}","gists_url":"https://api.github.com/users/hemanth/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanth/subscriptions","organizations_url":"https://api.github.com/users/hemanth/orgs","repos_url":"https://api.github.com/users/hemanth/repos","events_url":"https://api.github.com/users/hemanth/events{/privacy}","received_events_url":"https://api.github.com/users/hemanth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-07-01T13:05:27Z","updated_at":"2015-07-01T23:34:22Z","closed_at":"2015-07-01T17:54:43Z","body":"Lot of people don't get the benefits of one line modules, what would you say to those who tend to critic a lot about node modules that have just a line in them?\r\n"},"comment":{"url":"https://api.github.com/repos/sindresorhus/ama/issues/comments/117851181","html_url":"https://github.com/sindresorhus/ama/issues/10#issuecomment-117851181","issue_url":"https://api.github.com/repos/sindresorhus/ama/issues/10","id":117851181,"user":{"login":"mattdesl","id":1383811,"avatar_url":"https://avatars.githubusercontent.com/u/1383811?v=3","gravatar_id":"","url":"https://api.github.com/users/mattdesl","html_url":"https://github.com/mattdesl","followers_url":"https://api.github.com/users/mattdesl/followers","following_url":"https://api.github.com/users/mattdesl/following{/other_user}","gists_url":"https://api.github.com/users/mattdesl/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdesl/subscriptions","organizations_url":"https://api.github.com/users/mattdesl/orgs","repos_url":"https://api.github.com/users/mattdesl/repos","events_url":"https://api.github.com/users/mattdesl/events{/privacy}","received_events_url":"https://api.github.com/users/mattdesl/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T23:34:22Z","updated_at":"2015-07-01T23:34:22Z","body":"A year ago my first instinct facing the unknown would be to search for a random StackOverflow snippet and hope it works. Now, my instinct is to search for an npm module and *clearly* see that it will work with my application's inputs by looking at the test.\r\n\r\nRegarding memory; I would think it is much easier to remember the words `negative-zero` than the previously mentioned function body (which looks weird and is not very intuitive). To each their own.\r\n\r\nBTW - a lot of the smallest modules you see (e.g. [this](https://github.com/mattdesl/is-power-of-two/blob/master/index.js) or [this](https://github.com/mattdesl/lerp/blob/master/index.js)) are largely for the author's own consumption. I published those modules so I could stop copy + pasting the functions from project to project. It just so happens that they can also benefit a lot of other people."}}