{"_id":"parse-spawn-args","_rev":"511704","name":"parse-spawn-args","description":"parse string to spawn recognized arguments list","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"shaomq","email":"shaomq@gmail.com"}],"time":{"modified":"2021-08-09T14:00:59.000Z","created":"2015-07-01T06:46:16.558Z","1.0.2":"2015-07-09T01:53:32.710Z","1.0.1":"2015-07-01T06:55:23.751Z","1.0.0":"2015-07-01T06:46:16.558Z"},"users":{"ddmitov":true},"author":{"name":"shaomq@gmail.com"},"repository":{"type":"git","url":"https://github.com/mingqi/parse-spawn-args.git"},"versions":{"1.0.2":{"name":"parse-spawn-args","version":"1.0.2","description":"parse string to spawn recognized arguments list","main":"parser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mingqi/parse-spawn-args.git"},"keywords":["cli","parser","argument","spawn"],"author":{"name":"shaomq@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/mingqi/parse-spawn-args/issues"},"homepage":"https://github.com/mingqi/parse-spawn-args","gitHead":"9640ab1180504d7758ad54be5e884c4fe70e89d1","_id":"parse-spawn-args@1.0.2","_shasum":"a89bb748c196298d5d617fd94b0d0a436fc86ae7","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.1","_npmUser":{"name":"shaomq","email":"shaomq@gmail.com"},"maintainers":[{"name":"shaomq","email":"shaomq@gmail.com"}],"dist":{"shasum":"a89bb748c196298d5d617fd94b0d0a436fc86ae7","size":8124,"noattachment":false,"key":"/parse-spawn-args/-/parse-spawn-args-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-spawn-args/download/parse-spawn-args-1.0.2.tgz"},"directories":{},"publish_time":1436406812710,"_cnpm_publish_time":1436406812710,"_hasShrinkwrap":false},"1.0.1":{"name":"parse-spawn-args","version":"1.0.1","description":"parse string to spawn recognized arguments list","main":"parser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mingqi/parse-spawn-args.git"},"keywords":["cli","parser","argument","spawn"],"author":{"name":"shaomq@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/mingqi/parse-spawn-args/issues"},"homepage":"https://github.com/mingqi/parse-spawn-args","gitHead":"ca3627917813ac5e39fa187807e98213caa5c0c2","_id":"parse-spawn-args@1.0.1","_shasum":"022f37007ca18b6ebc1a1f1964fd721afad63d3d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.1","_npmUser":{"name":"shaomq","email":"shaomq@gmail.com"},"maintainers":[{"name":"shaomq","email":"shaomq@gmail.com"}],"dist":{"shasum":"022f37007ca18b6ebc1a1f1964fd721afad63d3d","size":8073,"noattachment":false,"key":"/parse-spawn-args/-/parse-spawn-args-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-spawn-args/download/parse-spawn-args-1.0.1.tgz"},"directories":{},"publish_time":1435733723751,"_cnpm_publish_time":1435733723751,"_hasShrinkwrap":false},"1.0.0":{"name":"parse-spawn-args","version":"1.0.0","description":"parse string to spawn recognized arguments list","main":"parser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mingqi/parse-spawn-args.git"},"keywords":["cli","parser","argument","spawn"],"author":{"name":"shaomq@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/mingqi/parse-spawn-args/issues"},"homepage":"https://github.com/mingqi/parse-spawn-args","gitHead":"a914a98c1f920775f5c2921fe5787592d829373a","_id":"parse-spawn-args@1.0.0","_shasum":"474dadd6f2690534b930e140c3793e4e32898da3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.1","_npmUser":{"name":"shaomq","email":"shaomq@gmail.com"},"maintainers":[{"name":"shaomq","email":"shaomq@gmail.com"}],"dist":{"shasum":"474dadd6f2690534b930e140c3793e4e32898da3","size":8069,"noattachment":false,"key":"/parse-spawn-args/-/parse-spawn-args-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-spawn-args/download/parse-spawn-args-1.0.0.tgz"},"directories":{},"publish_time":1435733176558,"_cnpm_publish_time":1435733176558,"_hasShrinkwrap":false}},"readme":"parse-spawn-args\n===========\n\nIf you need to spawn child process in Node.js, and need to parse a string command to a list arguments that pass to child process,  this module will be helpful. Here is examples:\n\n## usage\n\n### parse args with quote around\n```\nvar parse = require('parse-spawn-args').parse\nparse('-port 80 --title \"this is a title\"')\n/*\n    [\n        '-port',\n        '80',\n        '--title',\n        'this is a title'\n    ]\n/*\n```\n\n### parse args with quote escape\n```\nvar parse = require('parse-spawn-args').parse\nparse('-port 80 --title \"this is a \\\\\"title\\\\\"')\n/*\n    [\n        '-port',\n        '80',\n        '--title',\n        'this is a \"title\"'\n    ]\n*/\n```\n\n","_attachments":{},"homepage":"https://github.com/mingqi/parse-spawn-args","bugs":{"url":"https://github.com/mingqi/parse-spawn-args/issues"},"license":"ISC"}