{"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"isaacs","email":"i@izs.me"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"},{"name":"skylined","email":"berendjanwever@gmail.com"},{"name":"thefourtheye","email":"thechargingvolcano@gmail.com"}],"dist-tags":{"latest":"2.0.2"},"description":"Used in npm for command line application support","readme":"# cmd-shim\n\nThe cmd-shim used in npm to create executable scripts on Windows,\nsince symlinks are not suitable for this purpose there.\n\nOn Unix systems, you should use a symbolic link instead.\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/cmd-shim/master.svg)](https://travis-ci.org/ForbesLindesay/cmd-shim)\n[![Dependency Status](https://img.shields.io/david/ForbesLindesay/cmd-shim.svg)](https://david-dm.org/ForbesLindesay/cmd-shim)\n[![NPM version](https://img.shields.io/npm/v/cmd-shim.svg)](https://www.npmjs.com/package/cmd-shim)\n\n## Installation\n\n```\nnpm install cmd-shim\n```\n\n## API\n\n### cmdShim(from, to, cb)\n\nCreate a cmd shim at `to` for the command line program at `from`.\ne.g.\n\n```javascript\nvar cmdShim = require('cmd-shim');\ncmdShim(__dirname + '/cli.js', '/usr/bin/command-name', function (err) {\n  if (err) throw err;\n});\n```\n\n### cmdShim.ifExists(from, to, cb)\n\nThe same as above, but will just continue if the file does not exist.\nSource:\n\n```javascript\nfunction cmdShimIfExists (from, to, cb) {\n  fs.stat(from, function (er) {\n    if (er) return cb()\n    cmdShim(from, to, cb)\n  })\n}\n```\n","repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"users":{"jian263994241":true,"maoizm":true,"domjtalbot":true},"bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"license":"BSD-2-Clause","versions":{"1.0.0":{"name":"cmd-shim","version":"1.0.0","description":"Used in npm for command line application support","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"MIT","dependencies":{"graceful-fs":"~1.2.0","rimraf":"2","mkdirp":"~0.3.3","slide":"1","npmlog":"0"},"_id":"cmd-shim@1.0.0","dist":{"shasum":"8a126dd25d7656afa12b6de343699ccfa5924dca","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.0":{"name":"cmd-shim","version":"1.1.0","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD","optionalDependencies":{"graceful-fs":"1.2"},"dependencies":{"mkdirp":"~0.3.3","graceful-fs":"1.2"},"devDependencies":{"tap":"~0.4.1","rimraf":"~2.1.4"},"_id":"cmd-shim@1.1.0","dist":{"shasum":"e69fe26e9a8b9040c7b61dc8ad6b04d7dbabe767","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-1.1.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.1":{"name":"cmd-shim","version":"1.0.1","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD","optionalDependencies":{"graceful-fs":"2"},"dependencies":{"mkdirp":"~0.3.3","graceful-fs":"2"},"devDependencies":{"tap":"~0.4.1","rimraf":"~2.1.4"},"bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"_id":"cmd-shim@1.0.1","dist":{"shasum":"75e917c2185240854718c686346770640083d7bc","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-1.0.1.tgz"},"_from":".","_npmVersion":"1.3.4","_npmUser":{"name":"isaacs","email":"i@izs.me"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.1":{"name":"cmd-shim","version":"1.1.1","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD","optionalDependencies":{"graceful-fs":"2"},"dependencies":{"mkdirp":"~0.3.3","graceful-fs":"2"},"devDependencies":{"tap":"~0.4.1","rimraf":"~2.1.4"},"bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"_id":"cmd-shim@1.1.1","dist":{"shasum":"348b292db32ed74c8283fcf6c48549b84c6658a7","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-1.1.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.2":{"name":"cmd-shim","version":"1.1.2","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD","optionalDependencies":{"graceful-fs":"2"},"dependencies":{"mkdirp":"~0.5.0","graceful-fs":"2"},"devDependencies":{"tap":"~0.4.11","rimraf":"~2.2.8"},"bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"homepage":"https://github.com/ForbesLindesay/cmd-shim","_id":"cmd-shim@1.1.2","dist":{"shasum":"e4f9198802e361e8eb43b591959ef4dc6cdb6754","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-1.1.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"2.0.0":{"name":"cmd-shim","version":"2.0.0","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD","optionalDependencies":{"graceful-fs":"2"},"dependencies":{"graceful-fs":"2","mkdirp":"~0.5.0"},"devDependencies":{"tap":"~0.4.11","rimraf":"~2.2.8"},"gitHead":"10bd1362edd0dddec30168b2c3cd915d89d4c0ef","bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"homepage":"https://github.com/ForbesLindesay/cmd-shim","_id":"cmd-shim@2.0.0","_shasum":"34e0cd2ede0505cd8b154667eee9054ee24006b4","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"34e0cd2ede0505cd8b154667eee9054ee24006b4","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-2.0.0.tgz"},"directories":{}},"2.0.1":{"name":"cmd-shim","version":"2.0.1","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD","dependencies":{"graceful-fs":">3.0.1 <4.0.0-0","mkdirp":"~0.5.0"},"devDependencies":{"tap":"~0.4.11","rimraf":"~2.2.8"},"gitHead":"6f53d506be590fe9ac20c9801512cd1a3aad5974","bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"homepage":"https://github.com/ForbesLindesay/cmd-shim","_id":"cmd-shim@2.0.1","_shasum":"4512a373d2391679aec51ad1d4733559e9b85d4a","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"4512a373d2391679aec51ad1d4733559e9b85d4a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-2.0.1.tgz"},"directories":{}},"2.0.2":{"name":"cmd-shim","version":"2.0.2","description":"Used in npm for command line application support","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/cmd-shim.git"},"license":"BSD-2-Clause","dependencies":{"graceful-fs":"^4.1.2","mkdirp":"~0.5.0"},"devDependencies":{"tap":"~0.4.11","rimraf":"~2.2.8"},"gitHead":"8492e2a92b5062bb02a9eec509e57eea94b110a7","bugs":{"url":"https://github.com/ForbesLindesay/cmd-shim/issues"},"homepage":"https://github.com/ForbesLindesay/cmd-shim","_id":"cmd-shim@2.0.2","_shasum":"6fcbda99483a8fd15d7d30a196ca69d688a2efdb","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"6fcbda99483a8fd15d7d30a196ca69d688a2efdb","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cmd-shim/-/cmd-shim-2.0.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/cmd-shim-2.0.2.tgz_1455116566936_0.7582207734230906"},"directories":{}}},"name":"cmd-shim","time":{"modified":"2017-04-17T18:45:03.940Z","created":"2013-03-31T18:09:50.236Z","1.0.0":"2013-03-31T18:09:52.437Z","1.1.0":"2013-04-03T10:48:28.936Z","1.0.1":"2013-07-22T16:26:42.053Z","1.1.1":"2013-08-25T16:27:13.538Z","1.1.2":"2014-07-11T13:26:43.248Z","2.0.0":"2014-08-02T01:42:19.433Z","2.0.1":"2014-09-05T16:55:49.181Z","2.0.2":"2016-02-10T15:02:50.083Z"},"readmeFilename":"README.md","homepage":"https://github.com/ForbesLindesay/cmd-shim"}