{"name":"command-exists","version":"1.2.7","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":"0b7fafec8f0463baa34f262fee89c0a63e31a5d6","_id":"command-exists@1.2.7","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"mathisonian","email":"mc@mathisonian.com"},"dist":{"integrity":"sha512-doWDvhXCcW5LK0cIUWrOQ8oMFXJv3lEQCkJpGVjM8v9SV0uhqYXB943538tEA2CiaWqSyuYUGAm5ezDwEx9xlw==","shasum":"16828f0c3ff2b0c58805861ef211b64fc15692a8","tarball":"http://registry-npm.ywwl.com/command-exists/download/command-exists-1.2.7.tgz","fileCount":12,"unpackedSize":11846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKDiHCRA9TVsSAnZWagAAyQkP/REGJK1YAxv3C4JulhhE\nn9uFjEaVUyLcR3etEHyhUDSp7/JvD4hap6UvkwSRiDJNKxtnHt0Xy2eDTj1i\nYHpGiUreSRL+Ubc9oL+OVoJ2NCRMq8P9onU1D4CyGLt+i9iErjkuSkYqGG10\n7HQmi9CFqrzZlQUmlLxIOzf9Zk+myEzlO3JbvYMdmUBzdKbmDnV5z4qFi6lC\na+icUm2nAs8SxhiWbPg8TLE8+btx8HFCsKPIZkoMwYEgqCUPAAn8JPe9QhOj\nMJ46kKfSRcXQpThKMz3APK4kp7CwftUr7PDQ3r5H7KxpX7jQ7cqzxOPFeV3f\nJP5hYz9Dga6u5zhPDz1J/DRyakKDgm+KDVzkh/SxMPfKTRp8KkdF6838gs81\neDjHfZuiSqBI18QFcMoKG1otI8LW3yC7aLFXczJMNj3ROlnIU/NlgS+2cE6l\nSwsphnnlZ/dF/DSbKnec4geGZox+9h44gq24BJE70ksS+ilZbsz5op5Z3+vy\nBxjpG5pd2QGln5ER+ipTKYILmxLtsMavwxgp3T7Z5Aoi+IGoTogb1G2+VwAj\nayob4d+2BhkOmaYGWcii3vPN6jd5ute12Ywke2qIJ9tv58JgDoLi2T7hSScB\nNk0tNEqh3zXt045WrRtHEx15AnVQYtPiaLFJZ86iiwkmnpxH38V2pMvk3k+U\nO0SP\r\n=iaVc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc/t5weLqUrERhfK5LoSriNYf7p740bK62uN2Tlkj52wIhAOy7X0a9Y5R6xaSbmJJq+0UBlpPqxWouabb+ErTio2+8"}],"size":4022,"noattachment":false,"key":"/command-exists/-/command-exists-1.2.7.tgz"},"maintainers":[{"name":"mathisonian","email":"mc@mathisonian.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/command-exists_1.2.7_1529362567310_0.9198661351757769"},"_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":1529362567392,"_cnpm_publish_time":1529362567392,"dist-tags":{"latest":"1.2.9"}}