{"_id":"parse-spawn-args","_rev":"1672562","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":"2026-11-04T09:22:07.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","tarball":"http://registry-npm.ywwl.com/parse-spawn-args/download/parse-spawn-args-1.0.2.tgz","integrity":"sha512-uNr4v88DLQbCzqrBwHOdAslrgAq2uuQmxlQNwB8orMohUclV0cDIE7o6NdEI1jmvXrV/8jcCBKhnzh93LMSIOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnySDVFIIbsCD0vm9FJCzE1pLOlAeuqevtkkaA/bpu8gIgFvRXF8OiGvsXq6Tv9AJEBw1c5KBv7AYd2tTVXce6/yw="}],"size":8124,"noattachment":false,"key":"/parse-spawn-args/-/parse-spawn-args-1.0.2.tgz"},"publish_time":1436406812710,"_cnpm_publish_time":1436406812710},"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","tarball":"http://registry-npm.ywwl.com/parse-spawn-args/download/parse-spawn-args-1.0.1.tgz","integrity":"sha512-dxlNn4dfdMatUi9C7OFjSbjOgO5A0nqLG7rBw0bX+XRAKZpCdPFsbQmJSb1ce7/pToBbnAkDG0UhwBMvbCdPHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA3XvRotELlUgMLXFbVkky5opxVekrKMJlFOmYczBaTyAiBoCRSoOP2ixlFs1ses8NIJfUftFx6X3A1hU0uf8kbr9Q=="}],"size":8073,"noattachment":false,"key":"/parse-spawn-args/-/parse-spawn-args-1.0.1.tgz"},"publish_time":1435733723751,"_cnpm_publish_time":1435733723751},"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","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"},"publish_time":1435733176558,"_cnpm_publish_time":1435733176558}},"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"}