{"_id":"@types/shell-quote","_rev":"3804062","name":"@types/shell-quote","description":"TypeScript definitions for shell-quote","dist-tags":{"latest":"1.7.5","ts2.2":"1.6.1","ts2.3":"1.6.1","ts2.4":"1.6.1","ts2.5":"1.6.1","ts2.6":"1.6.1","ts2.7":"1.6.1","ts2.8":"1.6.1","ts2.9":"1.6.1","ts3.0":"1.7.0","ts3.1":"1.7.0","ts3.2":"1.7.0","ts3.3":"1.7.0","ts3.4":"1.7.0","ts3.5":"1.7.0","ts3.6":"1.7.1","ts3.7":"1.7.1","ts3.8":"1.7.1","ts3.9":"1.7.1","ts4.0":"1.7.1","ts4.1":"1.7.1","ts4.2":"1.7.1","ts4.3":"1.7.1","ts4.4":"1.7.1","ts4.5":"1.7.5","ts4.6":"1.7.5","ts4.7":"1.7.5","ts4.8":"1.7.5","ts4.9":"1.7.5","ts5.0":"1.7.5","ts5.1":"1.7.5","ts5.2":"1.7.5","ts5.3":"1.7.5","ts5.4":"1.7.5","ts5.5":"1.7.5","ts5.6":"1.7.5","ts5.7":"1.7.5","ts5.8":"1.7.5","ts5.9":"1.7.5"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2025-06-05T10:55:32.000Z","created":"2017-07-14T14:19:49.025Z","1.7.5":"2023-11-21T01:03:41.617Z","1.7.4":"2023-11-07T16:29:27.296Z","1.7.3":"2023-10-18T14:50:57.172Z","1.7.2":"2023-09-25T14:28:48.623Z","1.7.1":"2021-07-06T17:05:57.382Z","1.7.0":"2020-06-24T08:23:12.425Z","1.6.2":"2020-05-15T13:24:35.271Z","1.6.1":"2019-01-25T00:37:21.066Z","1.6.0":"2017-07-14T14:19:49.025Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"versions":{"1.7.5":{"name":"@types/shell-quote","version":"1.7.5","description":"TypeScript definitions for shell-quote","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","githubUsername":"jason0x43","url":"https://github.com/jason0x43"},{"name":"Cameron Diver","githubUsername":"CameronDiver","url":"https://github.com/CameronDiver"},{"name":"Opportunity Liu","githubUsername":"OpportunityLiu","url":"https://github.com/OpportunityLiu"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"0dd0f58bc4c36de28fd143a7f1de1361c95fb41f03196b4e52e196b8ce9cacd4","typeScriptVersion":"4.5","_id":"@types/shell-quote@1.7.5","dist":{"shasum":"6db4704742d307cd6d604e124e3ad6cd5ed943f3","size":2193,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.7.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.7.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.7.5_1700528621460_0.9900601495694501"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-21T01:03:41.617Z","publish_time":1700528621617,"_source_registry_name":"default","_cnpm_publish_time":1700528621617},"1.7.4":{"name":"@types/shell-quote","version":"1.7.4","description":"TypeScript definitions for shell-quote","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","githubUsername":"jason0x43","url":"https://github.com/jason0x43"},{"name":"Cameron Diver","githubUsername":"CameronDiver","url":"https://github.com/CameronDiver"},{"name":"Opportunity Liu","githubUsername":"OpportunityLiu","url":"https://github.com/OpportunityLiu"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"7e7ca58d80146d6021c99ce54a14d1ba647781eca02dfc34bbe813e789350503","typeScriptVersion":"4.5","_id":"@types/shell-quote@1.7.4","dist":{"shasum":"573b068217b7e0ff7f6e733cf076897549da2094","size":2201,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.7.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.7.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.7.4_1699374567129_0.5876199430083859"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T16:29:27.296Z","publish_time":1699374567296,"_source_registry_name":"default","_cnpm_publish_time":1699374567296},"1.7.3":{"name":"@types/shell-quote","version":"1.7.3","description":"TypeScript definitions for shell-quote","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","githubUsername":"jason0x43","url":"https://github.com/jason0x43"},{"name":"Cameron Diver","githubUsername":"CameronDiver","url":"https://github.com/CameronDiver"},{"name":"Opportunity Liu","githubUsername":"OpportunityLiu","url":"https://github.com/OpportunityLiu"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"b6b135a460d7f5fd482752b470de124381297afb516950cecc34842f42983d92","typeScriptVersion":"4.5","_id":"@types/shell-quote@1.7.3","dist":{"shasum":"12d1c1342b6a8ad926596c2e2a7d660c0b87f45c","size":2206,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.7.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.7.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.7.3_1697640656955_0.5341156631096162"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T14:50:57.172Z","publish_time":1697640657172,"_source_registry_name":"default","_cnpm_publish_time":1697640657172},"1.7.2":{"name":"@types/shell-quote","version":"1.7.2","description":"TypeScript definitions for shell-quote","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","url":"https://github.com/jason0x43","githubUsername":"jason0x43"},{"name":"Cameron Diver","url":"https://github.com/CameronDiver","githubUsername":"CameronDiver"},{"name":"Opportunity Liu","url":"https://github.com/OpportunityLiu","githubUsername":"OpportunityLiu"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"bdd07100e228a3d04573223325169a371ef56f6d9800d70156b483dbe5b57703","typeScriptVersion":"4.5","_id":"@types/shell-quote@1.7.2","dist":{"shasum":"83c9c2b20595a9569b5dacb9805224ceb5b0dd01","size":2298,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.7.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.7.2_1695652128363_0.3210502917155986"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-25T14:28:48.623Z","publish_time":1695652128623,"_source_registry_name":"default","_cnpm_publish_time":1695652128623},"1.7.1":{"name":"@types/shell-quote","version":"1.7.1","description":"TypeScript definitions for shell-quote","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","url":"https://github.com/jason0x43","githubUsername":"jason0x43"},{"name":"Cameron Diver","url":"https://github.com/CameronDiver","githubUsername":"CameronDiver"},{"name":"Opportunity Liu","url":"https://github.com/OpportunityLiu","githubUsername":"OpportunityLiu"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"54ce85cb73372be56bfb1986d1339e02b26eb9daf63aec8155872d567fd506b3","typeScriptVersion":"3.6","_id":"@types/shell-quote@1.7.1","dist":{"shasum":"2d059091214a02c29f003f591032172b2aff77e8","size":2241,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.7.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.7.1_1625591157253_0.5631949445965097"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:47:49.786Z","publish_time":1625591157382,"_cnpm_publish_time":1625591157382},"1.7.0":{"name":"@types/shell-quote","version":"1.7.0","description":"TypeScript definitions for shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","url":"https://github.com/jason0x43","githubUsername":"jason0x43"},{"name":"Cameron Diver","url":"https://github.com/CameronDiver","githubUsername":"CameronDiver"},{"name":"Opportunity Liu","url":"https://github.com/OpportunityLiu","githubUsername":"OpportunityLiu"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"12f731d329d184880ec5f2841ec522d58c6dab78b56da0752420718763fe21de","typeScriptVersion":"3.0","_id":"@types/shell-quote@1.7.0","dist":{"shasum":"0b6b930de00ad35128239b182c1fec8b8c40e876","size":2166,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.7.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.7.0_1592986992267_0.0018935217315612096"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:47:49.680Z","publish_time":1592986992425,"_cnpm_publish_time":1592986992425},"1.6.2":{"name":"@types/shell-quote","version":"1.6.2","description":"TypeScript definitions for shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","url":"https://github.com/jason0x43","githubUsername":"jason0x43"},{"name":"Cameron Diver","url":"https://github.com/CameronDiver","githubUsername":"CameronDiver"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/shell-quote"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d6e476c1a556f8e679f2f5292f764d24d7ddaf87122b2dc366ac369b83764cda","typeScriptVersion":"3.0","_id":"@types/shell-quote@1.6.2","dist":{"shasum":"9f22cdcf72fd3dfc802938222e115b41071e7117","size":1665,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.6.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.6.2_1589549075150_0.435125913193378"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:47:48.824Z","publish_time":1589549075271,"_cnpm_publish_time":1589549075271},"1.6.1":{"name":"@types/shell-quote","version":"1.6.1","description":"TypeScript definitions for shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","url":"https://github.com/jason0x43","githubUsername":"jason0x43"},{"name":"Cameron Diver","url":"https://github.com/CameronDiver","githubUsername":"CameronDiver"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d70152e3174099dbdc5d1c509043b70b5b28a757ab9e9c05df0e96e593cf4b50","typeScriptVersion":"2.2","_id":"@types/shell-quote@1.6.1","dist":{"shasum":"eed0cd93ac3628427d7b44c4550f854f9400e39f","size":1652,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.6.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote_1.6.1_1548376640970_0.24798480471167061"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:47:47.195Z","publish_time":1548376641066,"_cnpm_publish_time":1548376641066},"1.6.0":{"name":"@types/shell-quote","version":"1.6.0","description":"TypeScript definitions for shell-quote","license":"MIT","contributors":[{"name":"Jason Cheatham","url":"https://github.com/jason0x43"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"eb317baa63e7ac6e1e2c4db0f68df3b38c59a33e1444937be1902e14ed7d7e2f","typeScriptVersion":"2.2","_id":"@types/shell-quote@1.6.0","dist":{"shasum":"537b2949a2ebdcb0d353e448fee45b081021963f","size":1545,"noattachment":false,"key":"/@types/shell-quote/-/@types/shell-quote-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/shell-quote/download/@types/shell-quote-1.6.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shell-quote-1.6.0.tgz_1500041988945_0.5612491387873888"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:47:46.342Z","publish_time":1500041989025,"_cnpm_publish_time":1500041989025}},"readme":"# Installation\r\n> `npm install --save @types/shell-quote`\r\n\r\n# Summary\r\nThis package contains type definitions for shell-quote (https://github.com/substack/node-shell-quote).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote/index.d.ts)\r\n````ts\r\nexport type ControlOperator = \"||\" | \"&&\" | \";;\" | \"|&\" | \"<(\" | \">>\" | \">&\" | \"&\" | \";\" | \"(\" | \")\" | \"|\" | \"<\" | \">\";\n\nexport type ParseEntry =\n    | string\n    | { op: ControlOperator }\n    | { op: \"glob\"; pattern: string }\n    | { comment: string };\n\nexport interface ParseOptions {\n    /**\n     * Custom escape character, default value is `\\`\n     */\n    escape?: string | undefined;\n}\n\n/**\n * Return a quoted string for the array `args` suitable for using in shell commands.\n */\nexport function quote(args: readonly string[]): string;\n\n/**\n * Return an array of arguments from the quoted string `cmd`.\n *\n * Interpolate embedded bash-style `$VARNAME` and `${VARNAME}` variables with the `env` object which like bash will replace undefined variables with `\"\"`.\n */\nexport function parse(\n    cmd: string,\n    env?: { readonly [key: string]: string | undefined },\n    opts?: ParseOptions,\n): ParseEntry[];\n\n/**\n * Return an array of arguments from the quoted string `cmd`.\n *\n * Interpolate embedded bash-style `$VARNAME` and `${VARNAME}` variables\n * with the `env` object which like bash will replace undefined variables with `\"\"`.\n *\n * @param env\n *   A function to perform lookups.\n *   When env(key) returns a string, its result will be output just like env[key] would.\n *   When env(key) returns an object, it will be inserted into the result array like the operator objects.\n */\nexport function parse<T extends object | string>(\n    cmd: string,\n    env: (key: string) => T | undefined,\n    opts?: ParseOptions,\n): Array<ParseEntry | T>;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 20 Nov 2023 23:36:24 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Jason Cheatham](https://github.com/jason0x43), [Cameron Diver](https://github.com/CameronDiver), and [Opportunity Liu](https://github.com/OpportunityLiu).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shell-quote","license":"MIT"}