{"_id":"command-join","_rev":"15-94721f312ec67464bedf54a78933b203","name":"command-join","description":"Escape and join command-line arguments, cross-platform.","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0-2":{"name":"command-join","version":"1.0.0-2","description":"Escape and join command-line arguments. Cross-platform.","main":"command-join.js","scripts":{"test":"mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"keywords":["shell","command","escape","join","cli","argv"],"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"homepage":"https://github.com/seangenabe/command-join#readme","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4"},"gitHead":"341c36d93227ed6e860003fba6844646647e96c5","_id":"command-join@1.0.0-2","_shasum":"f047c6b7354aef84db41783c82586794962ad5ac","_from":".","_npmVersion":"2.13.4","_nodeVersion":"5.1.1","_npmUser":{"name":"s4g6","email":"seangenabe@outlook.com"},"maintainers":[{"name":"s4g6","email":"seangenabe@outlook.com"}],"dist":{"shasum":"f047c6b7354aef84db41783c82586794962ad5ac","tarball":"https://registry.npmjs.org/command-join/-/command-join-1.0.0-2.tgz","integrity":"sha512-j1m+GEE4h/M1EYxTvVYUS6v9zwSprUi63c+Fgr78xPPW+q4GqmwHizgZfPQyK1ICXThC5aa610ibCjq9ZAe0Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD8VH25uKHWJBqNYH4UR/s6CG+Yu8Gm9PQ0oYGg2y7ugIhAN7GVq4NLSxzHkUhAaurVQci5lnqQhX0vIBKlG95IrGa"}]},"directories":{}},"1.0.0":{"name":"command-join","version":"1.0.0","description":"Escape and join command-line arguments. Cross-platform.","main":"command-join.js","scripts":{"test":"mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"keywords":["shell","command","escape","join","cli","argv"],"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"homepage":"https://github.com/seangenabe/command-join#readme","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4"},"engines":{"node":">=4.0.0"},"gitHead":"511ee9e38667497f9763fcbce4b75a934eb54287","_id":"command-join@1.0.0","_shasum":"fd6443380e0095690875f7f48e1decad03973ab9","_from":".","_npmVersion":"2.13.4","_nodeVersion":"5.1.1","_npmUser":{"name":"s4g6","email":"seangenabe@outlook.com"},"maintainers":[{"name":"s4g6","email":"seangenabe@outlook.com"}],"dist":{"shasum":"fd6443380e0095690875f7f48e1decad03973ab9","tarball":"https://registry.npmjs.org/command-join/-/command-join-1.0.0.tgz","integrity":"sha512-tVEl1X2YUwCHKHnNKEU10Htke7/AQXFdS8xyflLFnC3QD/zF++XgTRWO1r7pPzv6kxjQnk/1z1oEArJpdcudHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsCt7ucJ/tDcE1vIz2wstct90yUJQVK8NSpf1nttYZCAiACPQ5buoR8/Vk/XLjBSeg6kWO8Kr4d0wGSypPIKQrVtQ=="}]},"directories":{}},"1.0.1":{"name":"command-join","version":"1.0.1","description":"Escape and join command-line arguments, cross-platform.","main":"command-join.js","scripts":{"test":"mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"keywords":["shell","command","escape","join","cli","argv"],"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"homepage":"https://github.com/seangenabe/command-join#readme","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4"},"engines":{"node":">=4.0.0"},"gitHead":"3140ff8f8cee6590883002ff059f79eb5c852580","_id":"command-join@1.0.1","_shasum":"cf8af2f24e31d23144b3d00d5776578778d20c1e","_from":".","_npmVersion":"2.13.4","_nodeVersion":"5.1.1","_npmUser":{"name":"s4g6","email":"seangenabe@outlook.com"},"maintainers":[{"name":"s4g6","email":"seangenabe@outlook.com"}],"dist":{"shasum":"cf8af2f24e31d23144b3d00d5776578778d20c1e","tarball":"https://registry.npmjs.org/command-join/-/command-join-1.0.1.tgz","integrity":"sha512-eWaD8EmtLbUNn3ro2XYmfGwAjzZUPW1vcAw2ODFOZWqznOfhmts/XQDaFBGDqSOOyqdPW2PCpo/kK9ax+uBklw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjZ50ClhvCutoLxmUHC0U2ENyiJYhUd/mmhoH9l/LBgAiEAhYgV48NsrHl7ETcjpuoYeoA0skvadcK5jcB+qEXbTTI="}]},"directories":{}},"1.1.0":{"name":"command-join","version":"1.1.0","description":"Escape and join command-line arguments, cross-platform.","main":"dist/command-join.js","files":["dist"],"scripts":{"build":"babel command-join.js --out-dir dist && babel test --out-dir test-es5","test":"npm run build && mocha test-es5/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"keywords":["shell","command","escape","join","cli","argv"],"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"homepage":"https://github.com/seangenabe/command-join#readme","devDependencies":{"babel-cli":"^6.14.0","babel-core":"^6.14.0","babel-plugin-transform-es2015-arrow-functions":"^6.8.0","babel-plugin-transform-es2015-block-scoping":"^6.15.0","babel-plugin-transform-es2015-constants":"^6.1.4","babel-plugin-transform-es2015-template-literals":"^6.8.0","chai":"^3.4.1","mocha":"^3.1.0"},"engines":{"node":">=0.10"},"dependencies":{"array-from":"^2.1.1","repeat-string":"^1.5.4"},"gitHead":"2114f9adc33002322d70880fd958bc7b1e6891c8","_id":"command-join@1.1.0","_shasum":"8de7ce708db25bc7b9c0e2c9ebb50aa3610dde88","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"seangenabe","email":"seangenabe@outlook.com"},"dist":{"shasum":"8de7ce708db25bc7b9c0e2c9ebb50aa3610dde88","tarball":"https://registry.npmjs.org/command-join/-/command-join-1.1.0.tgz","integrity":"sha512-0FKNwx5L8610JkqF70qdw8z06ZiWMYuGjM/jYaBy+3O/7agq9irTrfYmIUmsP8DEVh+feMOC+RgYENn9gWEUwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwoRUJJnWZ+UaByHssQXNLfIR8DFo3xLEZGm44JuCljAIgEWFdtuDRcmVjUwLkwKNWZr6ms3T4orprVl1ETMYy/fs="}]},"maintainers":[{"name":"seangenabe","email":"seangenabe@outlook.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/command-join-1.1.0.tgz_1475022101826_0.9217496640048921"},"directories":{}},"1.1.1":{"name":"command-join","version":"1.1.1","description":"Escape and join command-line arguments, cross-platform.","main":"dist/command-join.js","files":["dist"],"scripts":{"build":"babel command-join.js --out-dir dist && babel test --out-dir test-es5","test":"npm run build && mocha test-es5/*.test.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"keywords":["shell","command","escape","join","cli","argv"],"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"homepage":"https://github.com/seangenabe/command-join#readme","devDependencies":{"babel-cli":"^6.14.0","babel-core":"^6.14.0","babel-plugin-transform-es2015-arrow-functions":"^6.8.0","babel-plugin-transform-es2015-block-scoping":"^6.15.0","babel-plugin-transform-es2015-constants":"^6.1.4","babel-plugin-transform-es2015-template-literals":"^6.8.0","chai":"^3.4.1","mocha":"^3.1.0"},"engines":{"node":">=0.10"},"dependencies":{"array-from":"^2.1.1","repeat-string":"^1.5.4"},"gitHead":"9be2018fc499551ba2886af8fbeec9d7e17ee5e3","_id":"command-join@1.1.1","_shasum":"09e7609012e1dd8b4f0a14fde41a69eff1d2111f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"seangenabe","email":"seangenabe@outlook.com"},"dist":{"shasum":"09e7609012e1dd8b4f0a14fde41a69eff1d2111f","tarball":"https://registry.npmjs.org/command-join/-/command-join-1.1.1.tgz","integrity":"sha512-lwSdaq2IjDpFLDfUqPOt2nWEQ0ked++DMddS7yyS6hofLd3wctVYDtHqlHnyltAJ9Sqiun1V5cqDb6Gma7GBdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzTUbe6eGaICQvquVyeYipb/1dyrVOnIizBgq7PkoatAIhANQ1CWt5Wr4+OVNNJhkentFifkDvDXMZDwuvGCWdGoj6"}]},"maintainers":[{"name":"seangenabe","email":"seangenabe@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-join-1.1.1.tgz_1475022259211_0.39291201438754797"},"directories":{}},"2.0.0":{"name":"command-join","version":"2.0.0","description":"Escape and join command-line arguments, cross-platform.","main":"command-join.js","scripts":{"test":"mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"keywords":["shell","command","escape","join","cli","argv"],"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"homepage":"https://github.com/seangenabe/command-join#readme","devDependencies":{"chai":"^3.4.1","mocha":"^3.1.0"},"engines":{"node":">=4.0.0"},"gitHead":"08dda983200eb0291671a96cb9c1bbd30adebc07","_id":"command-join@2.0.0","_shasum":"52e8b984f4872d952ff1bdc8b98397d27c7144cf","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.5.0","_npmUser":{"name":"seangenabe","email":"seangenabe@outlook.com"},"dist":{"shasum":"52e8b984f4872d952ff1bdc8b98397d27c7144cf","tarball":"https://registry.npmjs.org/command-join/-/command-join-2.0.0.tgz","integrity":"sha512-3wRmSkL303bNoiJeNbGfyAi3dx8ZohEce158hUCoxtay8F7bYthV/5paxpIc3PqVp35VFwqp75GpkVi+XINfKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFRxmZgGdocXQHJhwjZtfv+4JmqSTQJd5lgZUiSkr+PDAiAR0U3fdC9GPGA6wtH42w0m6Dv/bccpFjl3HFTo2WNw/w=="}]},"maintainers":[{"name":"seangenabe","email":"seangenabe@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-join-2.0.0.tgz_1486538650586_0.3587605997454375"},"directories":{}},"2.0.1":{"name":"command-join","version":"2.0.1","description":"Escape and join command-line arguments, cross-platform.","keywords":["argv","cli","command","escape","join","shell"],"homepage":"https://github.com/seangenabe/command-join#readme","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"license":"MIT","author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"main":"command-join.js","scripts":{"build":"tsc","postinstall":"npx -p @seangenabe/tnx tnx || exit 0","prepublishOnly":"npm test","pretest":"npm run build","test":"node test/index.test.js","watch":"tsc -w"},"dependencies":{"@improved/node":"^1.0.0"},"devDependencies":{"@types/node":"^12.0.2","t0":"^1.0.0","typescript":"^3.4.5"},"engines":{"node":">=4.0.0"},"gitHead":"96a2590330b8ba5ad84daf932495d408bf34bbf6","_id":"command-join@2.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-LBA9kSxtg2SA8itaBeuitpn4pZQOhGVP1dyU1cnXLYrBpF3sikaPhjWPqyqVh7oGpneI05RtJs9a0fftIEgXcA==","shasum":"0a9e58a84e94bd0d1b6c75ce1078723d8a7645cb","tarball":"https://registry.npmjs.org/command-join/-/command-join-2.0.1.tgz","fileCount":7,"unpackedSize":10221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5kSZCRA9TVsSAnZWagAAiwYQAI84wDCUH3kSQAefPACX\nY86dG24zY7HQtsDN8KhG9wQBCSDaSsu6533EoTyyXqU99rXN6mb/Fo3Lk09I\nYbSWKIoAFRuubkEyWMeNYi1WfQGs3x4w4QzxZumdCEivSOoSSsuQLenyFhTC\nQNsrhZcxbVvXwrDG7s2Iqjc2Kvrtc/c39qZEoGeO9OOlJ6J6Bg7T/TxyoosT\nDKgrJNX8k7xEeh/4zdwN+9KNEU07+JPfVEeX9vt9iG+w/JOg0syJWiVhnPR4\nlgfC1qUzoalx17TcQp6Pp6ttwLXZygYsbfK7Ijvi6KAopBzmgY/+XSs0FbOJ\nXn+1ePuccu9s6EP7IvK6fIvFU4oZorATKxj2dkPgc0Nh/1w7SnMh+6/IozcQ\nyxk6xlc236DdHgnc+FBxJuDWoCj6xIYhKxsfxr5eYG6StGZShICYebFLVh0e\nRAV2GMVOH6L71w/S/YZCTM/mglt7A0VTlgPqmLDHzp2k+SSd9pkaXM7rOUVO\nENzX/4YETExxtWVEhH9RQK3yFQmuL0lKcA2TahB2zRn37sxvk8pLqvJSHTLX\npZpYppUQMhNDzEt4iP51308U4P31GDbB8BwFa+s6eUVt8oOXjoIHfCqBqTvc\nm7w4EOBa+IFErDMY2Swvc1qYH/8cFvzfvRIIxkxYk43IYHZ3U2iZivrgVoq0\nEap9\r\n=TvSP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClB1exWSWBBn78T8V0qY/A25k2gH2qpufoSVoNgn0/QAIgHqaNML4uJLMgT/wVJ0vBlwEIiOKWovEt6q/l5zV5ltQ="}]},"maintainers":[{"name":"seangenabe","email":"seangenabe@outlook.com"}],"_npmUser":{"name":"seangenabe","email":"seanmarviolivergenabe@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/command-join_2.0.1_1558594712892_0.4727816656910724"},"_hasShrinkwrap":false},"3.0.0":{"name":"command-join","version":"3.0.0","description":"Escape and join command-line arguments, cross-platform.","keywords":["argv","cli","command","escape","join","shell"],"homepage":"https://github.com/seangenabe/command-join#readme","bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"license":"MIT","author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"main":"command-join.js","scripts":{"build":"tsc","postinstall":"npx -p @seangenabe/tnx tnx || exit 0","prepublishOnly":"npm test","pretest":"npm run build","test":"node test/index.test.js","watch":"tsc -w"},"dependencies":{"@improved/node":"^1.0.0"},"devDependencies":{"@types/node":"^12.0.2","t0":"^1.0.0","typescript":"^3.4.5"},"engines":{"node":">=4.0.0"},"gitHead":"116bf47fecd5161d07b22703b3f65183d1080729","_id":"command-join@3.0.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-areSrJRrc9cbaA+Hxhs+QP4y+lkWXClAyOmxd79NvGEqUw1uLLaMKa2Tmuc1AkaER9XzmGTzpFWzwucYottMKw==","shasum":"9325753e99e53ca7d2c0e3cec7f557e5bfeba78b","tarball":"https://registry.npmjs.org/command-join/-/command-join-3.0.0.tgz","fileCount":7,"unpackedSize":10728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5laECRA9TVsSAnZWagAA5yoP/ikCzDnEuqEhQeRUdEkx\nY4q5twGsxCuaq06OZ41gAASPSxl9ask4CSxe7EftAx4Ej+L9Mthf+5g7zVtg\nlsfvL9aGj+yosIztdJKofpd+KCIsn1R2tfGts8/T/kpfkpWTyeOns9fixxvm\nOReB3526Z2tqZOEoOcZx3JCgY6kfPdxE8xl4V19DEGMYDUVNanDI+hxlZLSH\nDKKLhQYzyMZDVsmcGW5KFZrwC4suPCw/or8Gn78pxsSu9eYFLYZMaorQpqrk\ntdBglHnU2afv3OW0pjYjGGFLt8/rdwEJHQ3VWNDQVPPuDTKUJr6rliFdKEys\nMePUiCMYwNomCwskHeuUts2l0+wyxxT4T6b0RHlLm34TOfUFOttHqRblfPd9\ntX8uelSRttAFYUt41LkwVSMmUZg6HO1Nbkzwhb3L1ro9hKXPT+p0qLVyPY93\ndWH+MTpE8UctI6Uev1GvCUAhF/xJU9TLQJmtSjksRfwSoncOLe77+sA6Fb7o\nogY5+0a+PpHLP1BbVUoerhphFp/aOYy3f2dNn3oye3PI+66eRlblAH+lKjWS\nwBpSKnn5MuD9jXSDoafYAvuoDxhoxZ2JO+NvrxLZXRuRge2osCvAoSlU8sYS\nFTxbwntsnzG9TAJ+t9loSNSc9MMMaBJHpXy8BTLztvgyv2ek73Sd8ZSu/KBe\naZhO\r\n=BEHF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1pY4c7mpDxj0Z0TeT9W9hBoawDy2RGfNsspmIofcevgIgVizzW/tdGI49wwzDwdLBpeL+Wa1EchKBWn0I1u9keB0="}]},"maintainers":[{"name":"seangenabe","email":"seangenabe@outlook.com"}],"_npmUser":{"name":"seangenabe","email":"seanmarviolivergenabe@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/command-join_3.0.0_1558599300365_0.7559594539075141"},"_hasShrinkwrap":false}},"readme":"# command-join\r\n\r\nEscape command-line arguments, cross-platform.\r\n\r\n[![npm](https://img.shields.io/npm/v/command-join.svg?style=flat-square)](https://www.npmjs.com/package/command-join)\r\n[![Build Status](https://img.shields.io/travis/seangenabe/command-join/master.svg?style=flat-square)](https://travis-ci.org/seangenabe/command-join)\r\n[![devDependency Status](https://img.shields.io/david/dev/seangenabe/command-join.svg?style=flat-square)](https://david-dm.org/seangenabe/command-join#info=devDependencies)\r\n[![node](https://img.shields.io/node/v/command-join.svg?style=flat-square)](https://nodejs.org/en/download/)\r\n\r\nIf you like this package, be sure to star its repo, and please consider [donating](https://seangenabe.netlify.com/donate).\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { commandJoin } from \"command-join\"\r\n```\r\n\r\n### `commandJoin(arg: string | string[]): string`\r\n\r\nEscapes each command-line argument and joins them into a string that can then be executed, e.g. via `child_process.exec`.\r\n\r\nIf a string is passed, an array containing the string will instead be processed.\r\n\r\n**Example**\r\n\r\n```javascript\r\nconst command = commandJoin(['a', \"b\\\\\", \"'c\"])\r\ncommand\r\n// output on Windows: a \"b\\\\\" 'c\r\n// output on Linux: a 'b\\' \\'c\r\n```\r\n\r\nSee the tests for more convoluted examples.\r\n\r\n## Migrating\r\n\r\n**Migrating to v3**:\r\n```diff\r\n- const commandJoin = require(\"command-join\")\r\n+ const { commandJoin } = require(\"command-join\")\r\n```\r\n","maintainers":[{"name":"seangenabe","email":"seangenabe@outlook.com"}],"time":{"modified":"2022-06-13T06:34:47.515Z","created":"2015-12-05T19:17:13.432Z","1.0.0-2":"2015-12-05T19:17:13.432Z","1.0.0":"2015-12-06T06:16:49.708Z","1.0.1":"2015-12-06T12:49:27.574Z","1.1.0":"2016-09-28T00:21:43.461Z","1.1.1":"2016-09-28T00:24:19.437Z","2.0.0":"2017-02-08T07:24:10.814Z","2.0.1":"2019-05-23T06:58:33.027Z","3.0.0":"2019-05-23T08:15:00.489Z"},"homepage":"https://github.com/seangenabe/command-join#readme","keywords":["argv","cli","command","escape","join","shell"],"repository":{"type":"git","url":"git+https://github.com/seangenabe/command-join.git"},"author":{"name":"Sean Genabe","email":"seangenabe@outlook.com"},"bugs":{"url":"https://github.com/seangenabe/command-join/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"s4g6":true,"retorillo":true,"wmhilton":true}}