{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/execa/issues/3","labels_url":"https://api.github.com/repos/sindresorhus/execa/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/execa/issues/3/comments","events_url":"https://api.github.com/repos/sindresorhus/execa/issues/3/events","html_url":"https://github.com/sindresorhus/execa/pull/3","id":124109780,"number":3,"title":"add option to prefer locally installed binaries","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-28T19:20:20Z","updated_at":"2015-12-28T19:48:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/execa/pulls/3","html_url":"https://github.com/sindresorhus/execa/pull/3","diff_url":"https://github.com/sindresorhus/execa/pull/3.diff","patch_url":"https://github.com/sindresorhus/execa/pull/3.patch"},"body":"This enables you to `execa('foo')` if you `$ npm install foo` it.\r\n\r\nSome open questions:\r\n\r\n- Should it be enabled by default? That would really be the nicest solution, but not sure about the consequences and whether there are some downsides I haven't thought of.\r\n- What should the option be named? I would like something better than current. Put your bikeshedding hats on."},"comment":{"url":"https://api.github.com/repos/sindresorhus/execa/issues/comments/167638941","html_url":"https://github.com/sindresorhus/execa/pull/3#issuecomment-167638941","issue_url":"https://api.github.com/repos/sindresorhus/execa/issues/3","id":167638941,"user":{"login":"ariporad","id":1817508,"avatar_url":"https://avatars.githubusercontent.com/u/1817508?v=3","gravatar_id":"","url":"https://api.github.com/users/ariporad","html_url":"https://github.com/ariporad","followers_url":"https://api.github.com/users/ariporad/followers","following_url":"https://api.github.com/users/ariporad/following{/other_user}","gists_url":"https://api.github.com/users/ariporad/gists{/gist_id}","starred_url":"https://api.github.com/users/ariporad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariporad/subscriptions","organizations_url":"https://api.github.com/users/ariporad/orgs","repos_url":"https://api.github.com/users/ariporad/repos","events_url":"https://api.github.com/users/ariporad/events{/privacy}","received_events_url":"https://api.github.com/users/ariporad/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T19:48:44Z","updated_at":"2015-12-28T19:48:44Z","body":"@sindresorhus: I'd say that it should be on by default, I can't think of any reason you wouldn't want it. Maybe just call it \"local\"?"}}