{"_id":"spawn-args","_rev":"240500","name":"spawn-args","description":"Turn a string of command line options into an array for child_process.spawn","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"time":{"modified":"2021-06-03T15:56:00.000Z","created":"2014-04-05T22:42:32.771Z","0.2.0":"2016-06-30T10:35:41.803Z","0.1.0":"2015-05-18T20:49:26.179Z","0.0.4":"2014-07-23T01:13:28.049Z","0.0.3":"2014-07-22T16:29:49.677Z","0.0.2":"2014-04-05T22:42:32.771Z"},"users":{"uniquevn":true,"aretecode":true},"author":{"name":"Kai Davenport"},"repository":{"type":"git","url":"git+https://github.com/binocarlos/spawn-args.git"},"versions":{"0.2.0":{"name":"spawn-args","version":"0.2.0","description":"Turn a string of command line options into an array for child_process.spawn","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/binocarlos/spawn-args.git"},"keywords":["spawn","argv","parser"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/spawn-args/issues"},"homepage":"https://github.com/binocarlos/spawn-args","devDependencies":{"mocha":"~1.12.0","should":"~1.2.2"},"gitHead":"07f1826c91a601fbaa4e2a041788a9c79abcc718","_id":"spawn-args@0.2.0","_shasum":"fb7d0bd1d70fd4316bd9e3dec389e65f9d6361bb","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"dist":{"shasum":"fb7d0bd1d70fd4316bd9e3dec389e65f9d6361bb","size":2755,"noattachment":false,"key":"/spawn-args/-/spawn-args-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spawn-args/download/spawn-args-0.2.0.tgz"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/spawn-args-0.2.0.tgz_1467282940274_0.7584726572968066"},"directories":{},"publish_time":1467282941803,"_cnpm_publish_time":1467282941803,"_hasShrinkwrap":false},"0.1.0":{"name":"spawn-args","version":"0.1.0","description":"Turn a string of command line options into an array for child_process.spawn","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/binocarlos/spawn-args.git"},"keywords":["spawn","argv","parser"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/spawn-args/issues"},"homepage":"https://github.com/binocarlos/spawn-args","devDependencies":{"mocha":"~1.12.0","should":"~1.2.2"},"gitHead":"c3906a93b1deab983d95d8084f74eb75b25f1293","_id":"spawn-args@0.1.0","_shasum":"3e0232a0571b387907f8b3f544aa531c6224848c","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"dist":{"shasum":"3e0232a0571b387907f8b3f544aa531c6224848c","size":2572,"noattachment":false,"key":"/spawn-args/-/spawn-args-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spawn-args/download/spawn-args-0.1.0.tgz"},"directories":{},"publish_time":1431982166179,"_cnpm_publish_time":1431982166179,"_hasShrinkwrap":false},"0.0.4":{"name":"spawn-args","version":"0.0.4","description":"Turn a string of command line options into an array for child_process.spawn","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/binocarlos/spawn-args.git"},"keywords":["spawn","argv","parser"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/spawn-args/issues"},"homepage":"https://github.com/binocarlos/spawn-args","devDependencies":{"mocha":"~1.12.0","should":"~1.2.2"},"gitHead":"b98767f0302f1af34054edfd0942df33e9f72d6c","_id":"spawn-args@0.0.4","_shasum":"5e91f82e4612db9390926d70d8541bbdfecc2e1a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"dist":{"shasum":"5e91f82e4612db9390926d70d8541bbdfecc2e1a","size":2411,"noattachment":false,"key":"/spawn-args/-/spawn-args-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/spawn-args/download/spawn-args-0.0.4.tgz"},"directories":{},"publish_time":1406078008049,"_cnpm_publish_time":1406078008049,"_hasShrinkwrap":false},"0.0.3":{"name":"spawn-args","version":"0.0.3","description":"Turn a string of command line options into an array for child_process.spawn","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/binocarlos/spawn-args.git"},"keywords":["spawn","argv","parser"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/spawn-args/issues"},"homepage":"https://github.com/binocarlos/spawn-args","devDependencies":{"mocha":"~1.12.0","should":"~1.2.2"},"gitHead":"09bd058d89919d8dad5e7450b09296baeb6a8fc1","_id":"spawn-args@0.0.3","_shasum":"67bdce48a89f56dd86be73bc5abe716530cce1fe","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"dist":{"shasum":"67bdce48a89f56dd86be73bc5abe716530cce1fe","size":2359,"noattachment":false,"key":"/spawn-args/-/spawn-args-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/spawn-args/download/spawn-args-0.0.3.tgz"},"directories":{},"publish_time":1406046589677,"_cnpm_publish_time":1406046589677,"_hasShrinkwrap":false},"0.0.2":{"name":"spawn-args","version":"0.0.2","description":"Turn a string of command line options into an array for child_process.spawn","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/binocarlos/spawn-args.git"},"keywords":["spawn","argv","parser"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/spawn-args/issues"},"homepage":"https://github.com/binocarlos/spawn-args","devDependencies":{"mocha":"~1.12.0","should":"~1.2.2"},"_id":"spawn-args@0.0.2","dist":{"shasum":"54d83c4bb9ab1e53819fa1fbfb58c8a2abf1e6e2","size":2325,"noattachment":false,"key":"/spawn-args/-/spawn-args-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/spawn-args/download/spawn-args-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"directories":{},"publish_time":1396737752771,"_cnpm_publish_time":1396737752771,"_hasShrinkwrap":false}},"readme":"spawn-args\n==========\n\n![Build status](https://api.travis-ci.org/binocarlos/spawn-args.png)\n\nTurn a string of command line options into an array for child_process.spawn\n\n## install\n\n```\n$ npm install spawn-args\n```\n\n## usage\n\n```js\nvar spawnargs = require('spawn-args');\n//spawnargs(argString:string[, options:object]);\n\nvar args = spawnargs('-port 80 --title \"this is a title\"');\n\n/*\n\n\t[\n\t\t'-port',\n\t\t'80',\n\t\t'--title',\n\t\t'\"this is a title\"'\n\t]\n\t\n*/\n```\n\nThe `removequotes` option will remove quotes from values if they do not have spaces\n\n```js\nvar args2 = spawnargs('-port 80 --color \"red\" --title \"this is a title\"', { removequotes: true });\n\n/*\n\n\t[\n\t\t'-port',\n\t\t'80',\n\t\t'--title',\n\t\t'\"this is a title\"'\n\t]\n\t\n*/\n```\n\nIf `removequotes` is `always` then quotes will be removed even if the value contains spaces\n\n```js\nvar args3 = spawnargs('-port 80 --color \"red\" --title \"this is a title\"', { removequotes: 'always' });\n\n/*\n\n\t[\n\t\t'-port',\n\t\t'80',\n\t\t'--title',\n\t\t'this is a title'\n\t]\n\t\n*/\n```\n\n## license\n\nMIT\n","_attachments":{},"homepage":"https://github.com/binocarlos/spawn-args","bugs":{"url":"https://github.com/binocarlos/spawn-args/issues"},"license":"MIT"}