{"_id":"hasbin","_rev":"154510","name":"hasbin","description":"Check whether a binary exists in the PATH environment variable","dist-tags":{"latest":"1.2.3"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"time":{"modified":"2021-06-03T11:35:09.000Z","created":"2015-05-14T18:00:06.918Z","1.2.3":"2016-05-27T08:41:54.361Z","1.2.2":"2016-05-04T23:55:30.061Z","1.2.1":"2016-02-09T10:02:58.019Z","1.2.0":"2016-01-06T11:55:16.200Z","1.1.3":"2015-11-09T10:08:40.469Z","1.1.2":"2015-09-09T08:39:03.430Z","1.1.1":"2015-09-08T13:24:47.070Z","1.1.0":"2015-07-06T08:21:46.371Z","1.0.0":"2015-06-23T09:09:55.003Z","0.2.1":"2015-05-19T12:46:39.739Z","0.2.0":"2015-05-14T18:10:18.719Z","0.1.0":"2015-05-14T18:00:06.918Z"},"users":{"soulchainer":true},"author":{"name":"Nature Publishing Group"},"repository":{"type":"git","url":"git+https://github.com/springernature/hasbin.git"},"versions":{"1.2.3":{"name":"hasbin","version":"1.2.3","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"},{"name":"Andrew Walker","url":"http://www.moddular.org/"}],"repository":{"type":"git","url":"git+https://github.com/springernature/hasbin.git"},"homepage":"https://github.com/springernature/hasbin","bugs":{"url":"https://github.com/springernature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~1.5"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"5af037b8e28c7de6c35187e0dcc44cd2dc75e9cc","_id":"hasbin@1.2.3","_shasum":"78c5926893c80215c2b568ae1fd3fcab7a2696b0","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"78c5926893c80215c2b568ae1fd3fcab7a2696b0","size":6733,"noattachment":false,"key":"/hasbin/-/hasbin-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.2.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hasbin-1.2.3.tgz_1464338512214_0.787763632601127"},"directories":{},"publish_time":1464338514361,"_cnpm_publish_time":1464338514361,"_hasShrinkwrap":false},"1.2.2":{"name":"hasbin","version":"1.2.2","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"},{"name":"Andrew Walker","url":"http://www.moddular.org/"}],"repository":{"type":"git","url":"git+https://github.com/springernature/hasbin.git"},"homepage":"https://github.com/springernature/hasbin","bugs":{"url":"https://github.com/springernature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~1.5"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"c1f125a7f9e95216cedbcbd98520ab7170643382","_id":"hasbin@1.2.2","_shasum":"1127406de76d2d9e85ea774f99ae4a6bf2dc418d","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"1127406de76d2d9e85ea774f99ae4a6bf2dc418d","size":6563,"noattachment":false,"key":"/hasbin/-/hasbin-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.2.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hasbin-1.2.2.tgz_1462406128769_0.725410756887868"},"directories":{},"publish_time":1462406130061,"_cnpm_publish_time":1462406130061,"_hasShrinkwrap":false},"1.2.1":{"name":"hasbin","version":"1.2.1","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"},{"name":"Andrew Walker","url":"http://www.moddular.org/"}],"repository":{"type":"git","url":"git+https://github.com/springernature/hasbin.git"},"homepage":"https://github.com/springernature/hasbin","bugs":{"url":"https://github.com/springernature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10 <=5"},"dependencies":{"async":"~1.5"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"d322b49884b755e5ffe87a6e397a885e90ee7b88","_id":"hasbin@1.2.1","_shasum":"5644b24fa300947c1dd756b764fc7d5d3b6a11c8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"5644b24fa300947c1dd756b764fc7d5d3b6a11c8","size":8179,"noattachment":false,"key":"/hasbin/-/hasbin-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/hasbin-1.2.1.tgz_1455012175007_0.9896738524548709"},"directories":{},"publish_time":1455012178019,"_cnpm_publish_time":1455012178019,"_hasShrinkwrap":false},"1.2.0":{"name":"hasbin","version":"1.2.0","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"},{"name":"Andrew Walker","url":"http://www.moddular.org/"}],"repository":{"type":"git","url":"git+https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10 <=5"},"dependencies":{"async":"~1.5"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"67d64cd7323b4e5b15007da6599d0eabfd3939bd","_id":"hasbin@1.2.0","_shasum":"8ab05e08ab77c1941be2dc6c927a241702f986b0","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"moddular","email":"andy@moddular.org"},"dist":{"shasum":"8ab05e08ab77c1941be2dc6c927a241702f986b0","size":8040,"noattachment":false,"key":"/hasbin/-/hasbin-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.2.0.tgz"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"directories":{},"publish_time":1452081316200,"_cnpm_publish_time":1452081316200,"_hasShrinkwrap":false},"1.1.3":{"name":"hasbin","version":"1.1.3","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"}],"repository":{"type":"git","url":"git+https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10 <=5"},"dependencies":{"async":"~1.5"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"054d35852ffa8f0eaa5a85b2fce244407423b85a","_id":"hasbin@1.1.3","_shasum":"0bb422e43c43464954ce0322d2ddf15c5189c718","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"0bb422e43c43464954ce0322d2ddf15c5189c718","size":7618,"noattachment":false,"key":"/hasbin/-/hasbin-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.1.3.tgz"},"directories":{},"publish_time":1447063720469,"_cnpm_publish_time":1447063720469,"_hasShrinkwrap":false},"1.1.2":{"name":"hasbin","version":"1.1.2","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"}],"repository":{"type":"git","url":"git+https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10 <=4"},"dependencies":{"async":"~1.4"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"4824bfd40bd7f87a4f8eeeda5df05db8665da787","_id":"hasbin@1.1.2","_shasum":"e829994d7f5a9c30c906b5cb8a1d0494afa86738","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"e829994d7f5a9c30c906b5cb8a1d0494afa86738","size":7554,"noattachment":false,"key":"/hasbin/-/hasbin-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.1.2.tgz"},"directories":{},"publish_time":1441787943430,"_cnpm_publish_time":1441787943430,"_hasShrinkwrap":false},"1.1.1":{"name":"hasbin","version":"1.1.1","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"}],"repository":{"type":"git","url":"https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~1.4"},"devDependencies":{"istanbul":"~0.3","jscs":"^2","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"c2504b92ff24eeebd83c2fe142afd79cea8afc1f","_id":"hasbin@1.1.1","_shasum":"4f6212579ef5de8b3835a8c4580667f38cca6a7d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"4f6212579ef5de8b3835a8c4580667f38cca6a7d","size":7595,"noattachment":false,"key":"/hasbin/-/hasbin-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.1.1.tgz"},"directories":{},"publish_time":1441718687070,"_cnpm_publish_time":1441718687070,"_hasShrinkwrap":false},"1.1.0":{"name":"hasbin","version":"1.1.0","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"}],"repository":{"type":"git","url":"git+https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~1.3"},"devDependencies":{"jscs":"^1","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"9e6afab0d6d2477107f390a821bdf271fec79188","_id":"hasbin@1.1.0","_shasum":"8427a6127d9d959f4263e60f1a980f4dc3b8a6ae","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.10.26","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"8427a6127d9d959f4263e60f1a980f4dc3b8a6ae","size":7308,"noattachment":false,"key":"/hasbin/-/hasbin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.1.0.tgz"},"directories":{},"publish_time":1436170906371,"_cnpm_publish_time":1436170906371,"_hasShrinkwrap":false},"1.0.0":{"name":"hasbin","version":"1.0.0","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"}],"repository":{"type":"git","url":"git+https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~1.2"},"devDependencies":{"jscs":"^1","jshint":"^2","mocha":"^2","mockery":"~1.4","proclaim":"^3","sinon":"^1"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"c32c4d5ab2a0a5d32f3df599ed7a2933eb86c9ec","_id":"hasbin@1.0.0","_shasum":"02680e352abe4d6da9697aceb0b82d147e4c4dad","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.10.26","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"02680e352abe4d6da9697aceb0b82d147e4c4dad","size":7056,"noattachment":false,"key":"/hasbin/-/hasbin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-1.0.0.tgz"},"directories":{},"publish_time":1435050595003,"_cnpm_publish_time":1435050595003,"_hasShrinkwrap":false},"0.2.1":{"name":"hasbin","version":"0.2.1","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Nature Publishing Group"},"contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"}],"repository":{"type":"git","url":"https://github.com/nature/hasbin.git"},"homepage":"https://github.com/nature/hasbin","bugs":{"url":"https://github.com/nature/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~0.9"},"devDependencies":{"jshint":"~2.7","mocha":"~2.2","mockery":"~1.4","proclaim":"~3.2","sinon":"~1.14"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"_id":"hasbin@0.2.1","dist":{"shasum":"e13f76dcb9544c5c35b27e6574abdb198bff2705","size":6153,"noattachment":false,"key":"/hasbin/-/hasbin-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-0.2.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"directories":{},"publish_time":1432039599739,"_cnpm_publish_time":1432039599739,"_hasShrinkwrap":false},"0.2.0":{"name":"hasbin","version":"0.2.0","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Rowan Manning","url":"http://rowanmanning.com/"},"repository":{"type":"git","url":"git+https://github.com/rowanmanning/hasbin.git"},"homepage":"https://github.com/rowanmanning/hasbin","bugs":{"url":"https://github.com/rowanmanning/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~0.9"},"devDependencies":{"jshint":"~2.7","mocha":"~2.2","mockery":"~1.4","proclaim":"~3.2","sinon":"~1.14"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"0c5128151193407d349df0be4f1a67ecf4c42482","_id":"hasbin@0.2.0","_shasum":"6b41653584dd7a73807b6500128c6931ffdb9926","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"6b41653584dd7a73807b6500128c6931ffdb9926","size":4804,"noattachment":false,"key":"/hasbin/-/hasbin-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-0.2.0.tgz"},"directories":{},"publish_time":1431627018719,"_cnpm_publish_time":1431627018719,"_hasShrinkwrap":false},"0.1.0":{"name":"hasbin","version":"0.1.0","description":"Check whether a binary exists in the PATH environment variable","keywords":["bin","check","path"],"author":{"name":"Rowan Manning","url":"http://rowanmanning.com/"},"repository":{"type":"git","url":"git+https://github.com/rowanmanning/hasbin.git"},"homepage":"https://github.com/rowanmanning/hasbin","bugs":{"url":"https://github.com/rowanmanning/hasbin/issues"},"license":"MIT","engines":{"node":">=0.10"},"dependencies":{"async":"~0.9"},"devDependencies":{"jshint":"~2.7","mocha":"~2.2","mockery":"~1.4","proclaim":"~3.2","sinon":"~1.14"},"main":"./lib/hasbin.js","scripts":{"test":"make ci"},"gitHead":"b76553c5aed3dd1a599bc6ffd041365b577e28b3","_id":"hasbin@0.1.0","_shasum":"d8ff4b3047b95385484a64b5a95d6adf37ebe737","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"joseluisbolos","email":"joseluisbolos@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"d8ff4b3047b95385484a64b5a95d6adf37ebe737","size":4640,"noattachment":false,"key":"/hasbin/-/hasbin-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hasbin/download/hasbin-0.1.0.tgz"},"directories":{},"publish_time":1431626406918,"_cnpm_publish_time":1431626406918,"_hasShrinkwrap":false}},"readme":"\nHasBin\n======\n\nCheck whether a binary exists in the `PATH` environment variable.\n\n[![NPM version][shield-npm]][info-npm]\n[![Node.js version support][shield-node]][info-node]\n[![Build status][shield-build]][info-build]\n[![Dependencies][shield-dependencies]][info-dependencies]\n[![MIT licensed][shield-license]][info-license]\n\n```js\nvar hasbin = require('hasbin');\n\n// Check if a binary exists\nhasbin('node', function (result) {\n    // result === true\n});\nhasbin('wtf', function (result) {\n    // result === false\n});\n\n// Check if all binaries exist\nhasbin.all(['node', 'npm'], function (result) {\n    // result === true\n});\n\n// Check if at least one binary exists\nhasbin.some(['node', 'wtf'], function (result) {\n    // result === true\n});\n\n// Find the first available binary\nhasbin.first(['node', 'npm'], function (result) {\n    // result === 'node'\n});\n```\n\n\nTable Of Contents\n-----------------\n\n- [Install](#install)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n\nInstall\n-------\n\nInstall HasBin with [npm][npm]:\n\n```sh\nnpm install hasbin\n```\n\n\nUsage\n-----\n\n### `hasbin(binaryName, callback)`\n\nCheck whether a binary exists on one of the paths in `process.env.PATH`. Calls back with `true` if it does.\n\n```js\n// Arguments\nbinaryName = String\ncallback = Function(Boolean)\n```\n\n```js\n// Example\nhasbin('node', function (result) {\n    // result === true\n});\n```\n\n### `hasbin.sync(binaryName)`\n\nSynchronous `hasbin`.\n\n```js\n// Arguments\nbinaryName = String\nreturn Boolean\n```\n\n```js\n// Example\nresult = hasbin.sync('node');\n```\n\n### `hasbin.all(binaryNames, callback)`\n\nCheck whether all of a set of binaries exist on one of the paths in `process.env.PATH`. Calls back with `true` if all of the binaries do. Aliased as `hasbin.every`.\n\n```js\n// Arguments\nbinaryNames = Array(String)\ncallback = Function(Boolean)\n```\n\n```js\n// Example\nhasbin.all(['node', 'npm'], function (result) {\n    // result === true\n});\n```\n\n### `hasbin.all.sync(binaryNames)`\n\nSynchronous `hasbin.all`. Aliased as `hasbin.every.sync`.\n\n```js\n// Arguments\nbinaryNames = Array(String)\nreturn Boolean\n```\n\n```js\n// Example\nresult = hasbin.all.sync(['node', 'npm']);\n```\n\n### `hasbin.some(binaryNames, callback)`\n\nCheck whether at least one of a set of binaries exists on one of the paths in `process.env.PATH`. Calls back with `true` if at least one of the binaries does. Aliased as `hasbin.any`.\n\n```js\n// Arguments\nbinaryNames = Array(String)\ncallback = Function(Boolean)\n```\n\n```js\n// Example\nhasbin.some(['node', 'npm'], function (result) {\n    // result === true\n});\n```\n\n### `hasbin.some.sync(binaryNames)`\n\nSynchronous `hasbin.some`. Aliased as `hasbin.any.sync`.\n\n```js\n// Arguments\nbinaryNames = Array(String)\nreturn Boolean\n```\n\n```js\n// Example\nresult = hasbin.some.sync(['node', 'npm']);\n```\n\n### `hasbin.first(binaryNames, callback)`\n\nChecks the list of `binaryNames` to find the first binary that exists on one of the paths in `process.env.PATH`. Calls back with the name of the first matched binary if one exists and `false` otherwise.\n\n```js\n// Arguments\nbinaryNames = Array(String)\ncallback = Function(String|false)\n```\n\n```js\n// Example\nhasbin.first(['node', 'npm'], function (result) {\n    // result === 'node'\n});\n```\n\n### `hasbin.first.sync(binaryNames)`\n\nSynchronous `hasbin.first`.\n\n```js\n// Arguments\nbinaryNames = Array(String)\nreturn String|false\n```\n\n```js\n// Example\nresult = hasbin.first.sync(['node', 'npm']);\n```\n\n\nContributing\n------------\n\nTo contribute to HasBin, clone this repo locally and commit your code on a separate branch.\n\nPlease write unit tests for your code, and check that everything works by running the following before opening a pull-request:\n\n```sh\nmake ci\n```\n\n\nLicense\n-------\n\nHasBin is licensed under the [MIT][info-license] license.  \nCopyright &copy; 2015, Springer Nature\n\n\n\n[npm]: https://npmjs.org/\n[info-coverage]: https://coveralls.io/github/springernature/hasbin\n[info-dependencies]: https://gemnasium.com/springernature/hasbin\n[info-license]: LICENSE\n[info-node]: package.json\n[info-npm]: https://www.npmjs.com/package/hasbin\n[info-build]: https://travis-ci.org/springernature/hasbin\n[shield-coverage]: https://img.shields.io/coveralls/springernature/hasbin.svg\n[shield-dependencies]: https://img.shields.io/gemnasium/springernature/hasbin.svg\n[shield-license]: https://img.shields.io/badge/license-MIT-blue.svg\n[shield-node]: https://img.shields.io/badge/node.js%20support-0.10–6-brightgreen.svg\n[shield-npm]: https://img.shields.io/npm/v/hasbin.svg\n[shield-build]: https://img.shields.io/travis/springernature/hasbin/master.svg\n","_attachments":{},"homepage":"https://github.com/springernature/hasbin","bugs":{"url":"https://github.com/springernature/hasbin/issues"},"license":"MIT"}