{"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","tarball":"http://registry-npm.ywwl.com/parse-spawn-args/download/parse-spawn-args-1.0.0.tgz","integrity":"sha512-hXkpu0hIPq6NVg8OgvcF2+bRWQVRjzra6LGSBWWnApA5naypNB/IV+7RySeu+ma4zMd1GbUS035wNmmEJfKg+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHT9Mbb0W0OJWo4nSjiM85D7S8qok/lDO35Z3TB5wGdQIgaBTw2Y0mO+au99fAqKxXBFJU7vn0a91IlajUzHrKsdQ="}],"size":8069,"noattachment":false,"key":"/parse-spawn-args/-/parse-spawn-args-1.0.0.tgz"},"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","publish_time":1435733176558,"_cnpm_publish_time":1435733176558,"dist-tags":{"latest":"1.0.2"}}