{"_id":"hasbin","_rev":"18-c5d623cd53ca68fadb7e8f52d066c6e6","name":"hasbin","description":"Check whether a binary exists in the PATH environment variable","dist-tags":{"latest":"1.2.3"},"versions":{"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"d8ff4b3047b95385484a64b5a95d6adf37ebe737","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-0.1.0.tgz","integrity":"sha512-0lCZkE6+2F5PIXeVuJTl+/tjt50PM3VkPpQAionrnAFlyqz1UPj4KEeChxb7KO1VGo1y8w0SIKaOE9MJr5DdnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+B3MTWQYPBvwCeDEnBl40vt/j0j1ZZe7634hBEPe0fAiAn68xXFQQDVQq8dVyLTzExXWf4fQYJGcsZYr4l5/COug=="}]}},"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"6b41653584dd7a73807b6500128c6931ffdb9926","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-0.2.0.tgz","integrity":"sha512-JK+derY1rRZx5iQV9WOIGEFr/Qj5mxdKrBiVuOq9V2AVuvpqiu4arRsrG3wR7yqvklzgpNdild9E2ZztN6yWjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmxCYdDkHGyUaOkRWyOAW+ca9Nj7ydPtgLLpfgU60CfwIgFUXLTaYISUg1YoUJ/MXmOIiuWetApW54itllBMy2uFs="}]}},"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","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-0.2.1.tgz","integrity":"sha512-zv03QKkkqDwZryiUY97+zBCVVsGJ4lL9eOq1uru7d1WGzz3kVZDCQPTfrTOQF0Vyfa8C2S3uYRSQCILA85sK7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk1k42orZXP6O3AGuNt1lUC4e3ch4VVEL8ZuALUaoveQIhAIGs10IRyNU7H6jU78ZIQ9B1MjUGfsGWZFUfQjt6/arD"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},"maintainers":[{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}]},"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"dotcode","email":"dotcode+npm@gmail.com"}],"dist":{"shasum":"02680e352abe4d6da9697aceb0b82d147e4c4dad","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.0.0.tgz","integrity":"sha512-Y0/SPD7YrY6jw5C3WU0QIAq3dXQmfF460qkqLE5x/S2Z5+4ExgLGHr/oWo+Kw5CxK37WTGmjL7DT/FVzTbRNzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDHyKGJuVmwIkZWVQUZnRR5GtGmgdw8sjP/qcEuuXRPAiEA55UOfMjQdtqHtX7+yMave8uQqN6xVdMSr2rmQ7vrstc="}]}},"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"dotcode","email":"dotcode+npm@gmail.com"}],"dist":{"shasum":"8427a6127d9d959f4263e60f1a980f4dc3b8a6ae","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.1.0.tgz","integrity":"sha512-vItgz3mO7mtxrKoPC7DCZhnbfRfHEA7lBuSHthmRdWfZ6lwYzNTKl8GA+KKbhVJ+tpaGIU1rzDr84RSv8s2OSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7xBrCiFaYfTvfK60KDjRYKkO3XQ/G7dlqKoHbf7zTsAiEAiULTyLagpTjL3mnL3hqzorzABP/rxL6C+aeB4K4H9PY="}]}},"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"dotcode","email":"dotcode+npm@gmail.com"}],"dist":{"shasum":"4f6212579ef5de8b3835a8c4580667f38cca6a7d","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.1.1.tgz","integrity":"sha512-QW/WoIxVJpphmJfaN+DOLzbo+asV6F5UC+461rssIno2mdCMfijTxt4iPLqPyPRxOsaTncTUDAAqayP/78aq4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/WEwavwlcAG8irnAlc8KUTUAe3aDSPYVv6FsVyk/0pAiEA0jcOrxGs2WKqT3+MxfD2G0liZAAzIreusMtpVscqdOU="}]}},"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"dotcode","email":"dotcode+npm@gmail.com"}],"dist":{"shasum":"e829994d7f5a9c30c906b5cb8a1d0494afa86738","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.1.2.tgz","integrity":"sha512-3vpjoMXAKdVPYFiCulxneF68HdnpNACP12EjUrQsTIgZf0R+2NM1nVglehDtvudyYmOTL6LrkM31e5YaElU5Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfuYJav+JTikqcOgf5WI9jOok33TVLfAPRkmwUbAA3BwIhAPSRlTjOTx+Xb/WNhNbDBHAy+NjzvI86up3iEIRLgP2M"}]}},"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":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"dotcode","email":"dotcode+npm@gmail.com"}],"dist":{"shasum":"0bb422e43c43464954ce0322d2ddf15c5189c718","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.1.3.tgz","integrity":"sha512-sG843V4446L7PTkAghSJwgLDB0g+v4v1o4TTjnWN6U1tuuvxyMwecqP1TgCJRlh8OHH4HKUzRSHykD8yy+w4vA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID75mzBoRPgl1XxN7sGrGxC3o/rBSGc/2LD4Fn3CK7LWAiBouOWKDTKbfoGuYMZR/go5I+W04Ajs3BY6UEHvEy+zTA=="}]}},"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","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.2.0.tgz","integrity":"sha512-9KSoCugFG9+F+zAuH2ksSK+ajnHYGUZLLddr6aQGmmEWm+QX5q1GxwMeMk/FqFYWxQXov0p9qfmj6g2p6kC+5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLfswwcYfJ5VKml3WQtYpChzoHiZOvIsdmNEBvuiQy9AiEA1r5+WS1UlfADWdoufMl3Szh7HceBA1yMla3W5yurqWg="}]},"maintainers":[{"name":"dotcode","email":"dotcode+npm@gmail.com"},{"name":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}]},"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":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"5644b24fa300947c1dd756b764fc7d5d3b6a11c8","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.2.1.tgz","integrity":"sha512-cPakDsErkP2d+MzRM7c0amzVMgLDCvRcR5kIErq5I7l9vkhfE1e3F8HXv53nWJU7fw5WETkmvgV5AYLhJW2B7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDlIchVx/Kmz1U2Loua4CShTXbXdi3jAs+ujetGP0YRfAiEAs014WkzibuyYZVPUEJ9d0wvK3R0eZ5caTIvsHfDIixU="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/hasbin-1.2.1.tgz_1455012175007_0.9896738524548709"}},"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":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"1127406de76d2d9e85ea774f99ae4a6bf2dc418d","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.2.2.tgz","integrity":"sha512-kNHOb4iNm7zL1YFaGn7j/ldrrxkp5HNpLqtI6+/UxFQADqmWYCWqMN5qii5+Y5KtXM4ISwaZzJPiHiIxBBVAYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXx2afo6COEY3EjSprC0HATl8ye968xyLSpT758rmwlgIgGpL11WGgXuOp80agUY6o2nFRPB2iu+OtKauD0GzPub0="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hasbin-1.2.2.tgz_1462406128769_0.725410756887868"}},"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":"moddular","email":"andy@moddular.org"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"}],"dist":{"shasum":"78c5926893c80215c2b568ae1fd3fcab7a2696b0","tarball":"https://registry.npmjs.org/hasbin/-/hasbin-1.2.3.tgz","integrity":"sha512-CCd8e/w2w28G8DyZvKgiHnQJ/5XXDz6qiUHnthvtag/6T5acUeN5lqq+HMoBqcmgWueWDhiCplrw0Kb1zDACRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmQJ0GC49PrAPRyrAAWi2E5tIMJIHMpcsu3V6vThSG9wIgbVQ6jx4Hvys62jDLuNlKTYYiM+4LOQ+b3kI8dgmL3dY="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hasbin-1.2.3.tgz_1464338512214_0.787763632601127"}}},"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","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":"2022-06-18T19:26:52.181Z","created":"2015-05-14T18:00:06.918Z","0.1.0":"2015-05-14T18:00:06.918Z","0.2.0":"2015-05-14T18:10:18.719Z","0.2.1":"2015-05-19T12:46:39.739Z","1.0.0":"2015-06-23T09:09:55.003Z","1.1.0":"2015-07-06T08:21:46.371Z","1.1.1":"2015-09-08T13:24:47.070Z","1.1.2":"2015-09-09T08:39:03.430Z","1.1.3":"2015-11-09T10:08:40.469Z","1.2.0":"2016-01-06T11:55:16.200Z","1.2.1":"2016-02-09T10:02:58.019Z","1.2.2":"2016-05-04T23:55:30.061Z","1.2.3":"2016-05-27T08:41:54.361Z"},"homepage":"https://github.com/springernature/hasbin","keywords":["bin","check","path"],"repository":{"type":"git","url":"git+https://github.com/springernature/hasbin.git"},"author":{"name":"Nature Publishing Group"},"bugs":{"url":"https://github.com/springernature/hasbin/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Rowan Manning","url":"http://rowanmanning.com/"},{"name":"Andrew Walker","url":"http://www.moddular.org/"}],"users":{"soulchainer":true}}