{"name":"command-exists","version":"1.2.8","description":"check whether a command line command exists in the current environment","main":"index.js","scripts":{"test":"mocha test/test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/mathisonian/command-exists.git"},"keywords":["cli","command","exists"],"author":{"name":"Matthew Conlen"},"contributors":[{"name":"Arthur Silber","email":"arthur@arthursilber.de","url":"https://arthursilber.de"}],"license":"MIT","bugs":{"url":"https://github.com/mathisonian/command-exists/issues"},"homepage":"https://github.com/mathisonian/command-exists","devDependencies":{"expect.js":"^0.3.1","jshint":"^2.9.1","mocha":"^2.5.3"},"gitHead":"5e33ffd3a029bc993a2ac044ae687399d70e72b6","_id":"command-exists@1.2.8","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mathisonian","email":"mc@mathisonian.com"},"dist":{"integrity":"sha512-PM54PkseWbiiD/mMsbvW351/u+dafwTJ0ye2qB60G1aGQP9j3xK2gmMDc+R34L3nDtx4qMCitXT75mkbkGJDLw==","shasum":"715acefdd1223b9c9b37110a149c6392c2852291","tarball":"http://registry-npm.ywwl.com/command-exists/download/command-exists-1.2.8.tgz","fileCount":12,"unpackedSize":12494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwTqPCRA9TVsSAnZWagAAtOAP/3fepUylXCCcR+WsZhD0\neYvaG5vvxng1JjnMbvRYN1fJNiee/euwu39Ireik1tiuf2Gz+7o6UmHduaxI\n1qHAT/DhS7h0IrOJ7CyzjBBx4HkIX9u29Zpq+4OgjjEHnI8NGt0HlW/NsYz6\nkl43V0FoU96SSigZVwbw5mPJVgcoSvifgTHlH8r0IhjTk0x1gJDOuMrAKly4\nkY0uN7Qfrnu8uRGXAH1E8KbuCgIanb4FMsDuJGzd+J83XDlZZa2EedT+nzmK\nqmLZNS1a2/OTvhYwT93YVlNqxL2BqQyWDCVf5R845iA7+hrcml7bVD5AfHJ9\nXAeRd2e6kiRYgPBce5ywnBo/GhCX9vtezFT0WbEyH8GwNLMKH3+2/yvhF/1U\nmshjq0InBA3GEIi2aORJH8+38Uw77y6omt4q3EbaJUKcAUBZ6OCIVhfCje0q\nimUzSFT4SiFnUfDpcy4HtpF6tZgXHt+I8u5mkk709Xos/gxtm9ZhAzXyydwp\nLQp2ze9d635C660sQ7jol8LzCEVoGry6OypKqU9BAQtyIeD7huGXbegLTg8T\nkyoZtmTwGQa6+uO3WCP4+rDKnNayo3C+tYMV0hJFcdAqT1pJDjwTZOYS1RhA\nU0Ug1BE/nwSe+cfdf+DuOezQ+y6dv2YDkmhG8pUCcdD47k25doZE5AWt1AEs\nzUfi\r\n=wwpn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnmoP/NVoPx4jZHQFraCNVBat7NhIFh6dIeyWyWODyBAIhAJqURk/YyWNRxCF/0Ur6VdstAIlN+nl8AIuijTp85otO"}],"size":3891,"noattachment":false,"key":"/command-exists/-/command-exists-1.2.8.tgz"},"maintainers":[{"name":"mathisonian","email":"mc@mathisonian.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/command-exists_1.2.8_1539390094282_0.9289602362951235"},"_hasShrinkwrap":false,"readme":"command-exists\n==============\n\nnode module to check if a command-line command exists\n\n\n\n## installation\n\n```bash\nnpm install command-exists\n```\n\n## usage\n\n### async\n\n```js\nvar commandExists = require('command-exists');\n\ncommandExists('ls', function(err, commandExists) {\n\n    if(commandExists) {\n        // proceed confidently knowing this command is available\n    }\n\n});\n```\n### promise\n```js\nvar commandExists = require('command-exists');\n\n// invoked without a callback, it returns a promise\ncommandExists('ls')\n.then(function(command){\n    // proceed\n}).catch(function(){\n    // command doesn't exist\n});\n```\n\n### sync\n```js\nvar commandExistsSync = require('command-exists').sync;\n// returns true/false; doesn't throw\nif (commandExistsSync('ls')) {\n    // proceed\n} else {\n    // ...\n}\n\n```\n\n\n## changelog\n\n### v1.2.7\n\nRemoves unnecessary printed output on windows.\n\n### v1.2.6\n\nSmall bugfixes.\n\n### v1.2.5\n\nFix windows bug introduced in 1.2.4.\n\n### v1.2.4\n\nFix potential security issue.\n\n### v1.2.0\n\nAdd support for promises\n\n### v1.1.0\n\nAdd synchronous version\n\n### v1.0.2\n\nSupport for windows\n","publish_time":1539390094436,"_cnpm_publish_time":1539390094436,"dist-tags":{"latest":"1.2.9"}}