{"_id":"dargs","_rev":"382403","name":"dargs","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","dist-tags":{"latest":"8.1.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-04T02:26:08.000Z","created":"2013-04-18T22:54:29.011Z","8.1.0":"2021-06-30T06:08:55.643Z","8.0.0":"2021-05-03T14:59:23.465Z","7.0.0":"2019-06-22T12:59:14.817Z","6.1.0":"2019-04-11T06:23:05.138Z","6.0.0":"2018-05-26T10:18:53.480Z","5.1.0":"2016-09-22T17:10:39.821Z","5.0.1":"2016-06-30T22:55:38.504Z","5.0.0":"2016-06-30T22:53:22.100Z","4.1.0":"2016-01-07T19:16:55.079Z","4.0.1":"2015-05-20T20:53:28.186Z","4.0.0":"2015-02-06T16:55:07.972Z","3.0.1":"2015-02-04T11:37:32.084Z","3.0.0":"2014-11-06T08:40:02.768Z","2.1.0":"2014-10-29T05:51:03.722Z","2.0.3":"2014-08-27T16:54:52.246Z","2.0.2":"2014-08-27T13:20:10.818Z","2.0.1":"2014-08-26T16:13:20.027Z","2.0.0":"2014-08-21T15:29:23.437Z","1.0.0":"2014-08-13T16:53:18.275Z","0.1.0":"2013-04-18T22:54:29.011Z"},"users":{"passy":true,"leesei":true,"manishrc":true,"g13013":true,"jsw0528":true,"itonyyo":true,"eijs":true,"prometheas":true,"chrisyipw":true,"heartnett":true,"xuu":true,"tdmalone":true,"zardoy":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"versions":{"8.1.0":{"name":"dargs","version":"8.1.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","binary","command","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.39.1"},"gitHead":"42150c59a5a9f5986b379b152f47ac390a2aa1e6","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@8.1.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"a34859ea509cbce45485e5aa356fef70bfcc7272","size":3876,"noattachment":false,"key":"/dargs/-/dargs-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-8.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dargs_8.1.0_1625033335487_0.3675947660200256"},"_hasShrinkwrap":false,"publish_time":1625033335643,"_cnpm_publish_time":1625033335643},"8.0.0":{"name":"dargs","version":"8.0.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","binary","command","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.39.1"},"gitHead":"b80546a5bb2ba0dcb773efdf56601889c9168f0d","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@8.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"e754b058167f6eb7a973fa12c60bdd5d989f7cec","size":3839,"noattachment":false,"key":"/dargs/-/dargs-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-8.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dargs_8.0.0_1620053963357_0.8533845973652829"},"_hasShrinkwrap":false,"publish_time":1620053963465,"_cnpm_publish_time":1620053963465},"7.0.0":{"name":"dargs","version":"7.0.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","binary","command","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"^2.1.0","tsd":"^0.7.3","xo":"^0.24.0"},"gitHead":"5f9a3f9d2d62bd1aa068b3eb7b4f66443ca52d35","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@7.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"04015c41de0bcb69ec84050f3d9be0caf8d6d5cc","size":3666,"noattachment":false,"key":"/dargs/-/dargs-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-7.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dargs_7.0.0_1561208354704_0.45079454158630816"},"_hasShrinkwrap":false,"publish_time":1561208354817,"_cnpm_publish_time":1561208354817},"6.1.0":{"name":"dargs","version":"6.1.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","bin","binary","command","cmd","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"904bba20e357f4eeb3e1ac3db8b5bfbbfd3f47b5","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@6.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1f3b9b56393ecf8caa7cbfd6c31496ffcfb9b272","size":3559,"noattachment":false,"key":"/dargs/-/dargs-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-6.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dargs_6.1.0_1554963784992_0.6728548021652732"},"_hasShrinkwrap":false,"publish_time":1554963785138,"_cnpm_publish_time":1554963785138},"6.0.0":{"name":"dargs","version":"6.0.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","bin","binary","command","cmd","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"926509985730c9d233b03fc8bf753f7b4208ff4b","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@6.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"da35d4633cd821de868f97d645f8d1f9b0353a24","size":3074,"noattachment":false,"key":"/dargs/-/dargs-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dargs_6.0.0_1527329933419_0.13146743229601499"},"_hasShrinkwrap":false,"publish_time":1527329933480,"_cnpm_publish_time":1527329933480},"5.1.0":{"name":"dargs","version":"5.1.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","bin","binary","command","cmd","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"6f796ea830d0a6b1d75592f6c28ac619339f2965","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@5.1.0","_shasum":"ec7ea50c78564cd36c9d5ec18f66329fade27829","_from":".","_npmVersion":"3.10.7","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ec7ea50c78564cd36c9d5ec18f66329fade27829","size":3076,"noattachment":false,"key":"/dargs/-/dargs-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-5.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/dargs-5.1.0.tgz_1474564238125_0.8079354558140039"},"directories":{},"publish_time":1474564239821,"_cnpm_publish_time":1474564239821,"_hasShrinkwrap":false},"5.0.1":{"name":"dargs","version":"5.0.1","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","bin","binary","command","cmd","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"964da885ebf48e0323a1553839ad5c1bee7bf11e","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@5.0.1","_shasum":"383f60efa682d4653fc3e85ace77eecb613a3f31","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"383f60efa682d4653fc3e85ace77eecb613a3f31","size":2953,"noattachment":false,"key":"/dargs/-/dargs-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-5.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/dargs-5.0.1.tgz_1467327336671_0.8395104785449803"},"directories":{},"publish_time":1467327338504,"_cnpm_publish_time":1467327338504,"_hasShrinkwrap":false},"5.0.0":{"name":"dargs","version":"5.0.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["reverse","minimist","options","arguments","args","flags","cli","nopt","commander","bin","binary","command","cmd","inverse","opposite","invert","switch","construct","parse","parser","argv"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"d04c36dfb41761f729c7d3e155038c5bf53927d5","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@5.0.0","_shasum":"69689d5b302f9dd694a9c45f7325fb55eee6f5d8","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"69689d5b302f9dd694a9c45f7325fb55eee6f5d8","size":2948,"noattachment":false,"key":"/dargs/-/dargs-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/dargs-5.0.0.tgz_1467327200331_0.7406640162225813"},"directories":{},"publish_time":1467327202100,"_cnpm_publish_time":1467327202100,"_hasShrinkwrap":false},"4.1.0":{"name":"dargs","version":"4.1.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","repository":{"type":"git","url":"https://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist","bin","binary","command","cmd","reverse","inverse","opposite","invert","switch","construct","parse","parser","argv"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"scripts":{"test":"xo && ava"},"dependencies":{"number-is-nan":"^1.0.0"},"devDependencies":{"array-equal":"^1.0.0","ava":"*","xo":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"048f7ac4167d72c1462d9ab1a94d121d940789c9","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@4.1.0","_shasum":"03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17","size":2938,"noattachment":false,"key":"/dargs/-/dargs-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-4.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1452194215079,"_cnpm_publish_time":1452194215079,"_hasShrinkwrap":false},"4.0.1":{"name":"dargs","version":"4.0.1","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","repository":{"type":"git","url":"git+https://github.com/sindresorhus/dargs.git"},"keywords":["options","arguments","args","flags","cli","nopt","minimist","bin","binary","command","cmd","reverse","inverse","opposite","invert","switch","construct","parse","parser","argv"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"scripts":{"test":"node test.js"},"dependencies":{"number-is-nan":"^1.0.0"},"devDependencies":{"array-equal":"^1.0.0","ava":"^0.0.4"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"2b70c92a4f540f693760be1ffaa8c77785b82698","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs#readme","_id":"dargs@4.0.1","_shasum":"172ad43156f7837f85ec22e9dd7c46a6c093ef19","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"172ad43156f7837f85ec22e9dd7c46a6c093ef19","size":2316,"noattachment":false,"key":"/dargs/-/dargs-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-4.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1432155208186,"_cnpm_publish_time":1432155208186,"_hasShrinkwrap":false},"4.0.0":{"name":"dargs","version":"4.0.0","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","repository":{"type":"git","url":"https://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist","bin","binary","command","cmd","reverse","inverse","opposite","invert","switch","construct","parse","parser","argv"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"scripts":{"test":"node test.js"},"devDependencies":{"array-equal":"^1.0.0","ava":"^0.0.4"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"32d3d9eecd039ff4f5036625763e766d1c60ccd8","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@4.0.0","_shasum":"86620b56317224f28607084abfa82be9cab0624c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"86620b56317224f28607084abfa82be9cab0624c","size":1602,"noattachment":false,"key":"/dargs/-/dargs-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-4.0.0.tgz"},"directories":{},"publish_time":1423241707972,"_cnpm_publish_time":1423241707972,"_hasShrinkwrap":false},"3.0.1":{"name":"dargs","version":"3.0.1","description":"Reverse minimist. Convert an object of options into an array of command-line arguments.","repository":{"type":"git","url":"https://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist","bin","binary","command","cmd","reverse","inverse","opposite","invert","switch","construct","parse","parser","argv"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"scripts":{"test":"node test.js"},"devDependencies":{"array-equal":"^1.0.0","ava":"^0.0.4"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"7044fed5614b4ccc40ed1a5b0dac2e22b0f70729","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@3.0.1","_shasum":"5a1f3f4332341f3f1cd10829e0df23996dfd29be","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"5a1f3f4332341f3f1cd10829e0df23996dfd29be","size":1453,"noattachment":false,"key":"/dargs/-/dargs-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-3.0.1.tgz"},"directories":{},"publish_time":1423049852084,"_cnpm_publish_time":1423049852084,"_hasShrinkwrap":false},"3.0.0":{"name":"dargs","version":"3.0.0","description":"Convert an object of options into an array of command-line arguments","repository":{"type":"git","url":"https://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist","bin","binary","command","cmd"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"node test.js"},"devDependencies":{"array-equal":"^1.0.0","ava":"^0.0.4"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"66813d59e542d3c224665dbf24f965fce651171e","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@3.0.0","_shasum":"a13060200bcca826b3ae45029f448a84b4638cbb","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"a13060200bcca826b3ae45029f448a84b4638cbb","size":1399,"noattachment":false,"key":"/dargs/-/dargs-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-3.0.0.tgz"},"directories":{},"publish_time":1415263202768,"_cnpm_publish_time":1415263202768,"_hasShrinkwrap":false},"2.1.0":{"name":"dargs","version":"2.1.0","description":"Convert an object of options into an array of command-line arguments","repository":{"type":"git","url":"https://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist","bin","binary","command","cmd"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"e1f3e8ae83fe011a2b9ceb9aa596e2e54751e5cd","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@2.1.0","_shasum":"46c27ffab1ffb1378ef212597213719fe602bc93","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"46c27ffab1ffb1378ef212597213719fe602bc93","size":1371,"noattachment":false,"key":"/dargs/-/dargs-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-2.1.0.tgz"},"directories":{},"publish_time":1414561863722,"_cnpm_publish_time":1414561863722,"_hasShrinkwrap":false},"2.0.3":{"name":"dargs","version":"2.0.3","description":"Converts an object of options into an array of command-line arguments","repository":{"type":"git","url":"git://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@2.0.3","_shasum":"e9d33c9a2cedda730e0b64b7f0f8f0b669007032","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"e9d33c9a2cedda730e0b64b7f0f8f0b669007032","size":1387,"noattachment":false,"key":"/dargs/-/dargs-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-2.0.3.tgz"},"directories":{},"publish_time":1409158492246,"_cnpm_publish_time":1409158492246,"_hasShrinkwrap":false},"2.0.2":{"name":"dargs","version":"2.0.2","description":"Converts an object of options into an array of command-line arguments","repository":{"type":"git","url":"git://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@2.0.2","_shasum":"9f238f298c923d76473306c8f5a32b2321c2f93f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"9f238f298c923d76473306c8f5a32b2321c2f93f","size":1381,"noattachment":false,"key":"/dargs/-/dargs-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-2.0.2.tgz"},"directories":{},"publish_time":1409145610818,"_cnpm_publish_time":1409145610818,"_hasShrinkwrap":false},"2.0.1":{"name":"dargs","version":"2.0.1","description":"Converts an object of options into an array of command-line arguments","repository":{"type":"git","url":"git://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli","nopt","minimist"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@2.0.1","_shasum":"d75036aa359e85bd280a2a634e9864b0902deeaf","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"d75036aa359e85bd280a2a634e9864b0902deeaf","size":1307,"noattachment":false,"key":"/dargs/-/dargs-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-2.0.1.tgz"},"directories":{},"publish_time":1409069600027,"_cnpm_publish_time":1409069600027,"_hasShrinkwrap":false},"2.0.0":{"name":"dargs","version":"2.0.0","description":"Converts an object of options into an array of command-line arguments","repository":{"type":"git","url":"https://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"26bf5e94ff78ebed3d2e8e2e20e0302a9ea7883e","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@2.0.0","_shasum":"9fbfd26fa2cf7d9a7d07e33fc906f97e373ac36c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"9fbfd26fa2cf7d9a7d07e33fc906f97e373ac36c","size":1223,"noattachment":false,"key":"/dargs/-/dargs-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-2.0.0.tgz"},"directories":{},"publish_time":1408634963437,"_cnpm_publish_time":1408634963437,"_hasShrinkwrap":false},"1.0.0":{"name":"dargs","version":"1.0.0","description":"Converts an object of options into an array of command-line arguments","repository":{"type":"git","url":"git://github.com/sindresorhus/dargs"},"keywords":["options","arguments","args","flags","cli"],"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"license":"MIT","files":["index.js"],"gitHead":"0d109d7fdfb3c4455b23488d007b5e8fba676765","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"homepage":"https://github.com/sindresorhus/dargs","_id":"dargs@1.0.0","_shasum":"6e9fc85e0e434ed4f341257f2196dc6ecf333be9","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"6e9fc85e0e434ed4f341257f2196dc6ecf333be9","size":1226,"noattachment":false,"key":"/dargs/-/dargs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-1.0.0.tgz"},"directories":{},"publish_time":1407948798275,"_cnpm_publish_time":1407948798275,"_hasShrinkwrap":false},"0.1.0":{"name":"dargs","version":"0.1.0","description":"Converts an object of options into an array of command-line arguments. Useful when calling command-line tools.","keywords":["options","arguments","args","flags","cli"],"homepage":"https://github.com/sindresorhus/dargs","bugs":"https://github.com/sindresorhus/dargs/issues","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"main":"dargs.js","repository":{"type":"git","url":"git://github.com/sindresorhus/dargs.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.9.0"},"engines":{"node":">=0.8.0"},"licenses":[{"type":"MIT"}],"files":["dargs.js"],"readmeFilename":"readme.md","_id":"dargs@0.1.0","dist":{"shasum":"2364ad9f441f976dcd5fe9961e21715665a5e3c3","size":1268,"noattachment":false,"key":"/dargs/-/dargs-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dargs/download/dargs-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1366325669011,"_cnpm_publish_time":1366325669011,"_hasShrinkwrap":false}},"readme":"# dargs\n\n> Reverse [`minimist`](https://github.com/substack/minimist). Convert an object of options into an array of command-line arguments.\n\nUseful when spawning command-line tools.\n\n## Install\n\n```\n$ npm install dargs\n```\n\n## Usage\n\n```js\nimport dargs from 'dargs';\n\nconst object = {\n\t_: ['some', 'option'],          // Values in '_' will be appended to the end of the generated argument list\n\t'--': ['separated', 'option'],  // Values in '--' will be put at the very end of the argument list after the escape option (`--`)\n\tfoo: 'bar',\n\thello: true,                    // Results in only the key being used\n\tcake: false,                    // Prepends `no-` before the key\n\tcamelCase: 5,                   // CamelCase is slugged to `camel-case`\n\tmultiple: ['value', 'value2'],  // Converted to multiple arguments\n\tpieKind: 'cherry',\n\tsad: ':('\n};\n\nconst excludes = ['sad', /.*Kind$/];  // Excludes and includes accept regular expressions\nconst includes = ['camelCase', 'multiple', 'sad', /^pie.*/];\nconst aliases = {file: 'f'};\n\nconsole.log(dargs(object, {excludes}));\n/*\n[\n\t'--foo=bar',\n\t'--hello',\n\t'--no-cake',\n\t'--camel-case=5',\n\t'--multiple=value',\n\t'--multiple=value2',\n\t'some',\n\t'option',\n\t'--',\n\t'separated',\n\t'option'\n]\n*/\n\nconsole.log(dargs(object, {excludes, includes}));\n/*\n[\n\t'--camel-case=5',\n\t'--multiple=value',\n\t'--multiple=value2'\n]\n*/\n\n\nconsole.log(dargs(object, {includes}));\n/*\n[\n\t'--camel-case=5',\n\t'--multiple=value',\n\t'--multiple=value2',\n\t'--pie-kind=cherry',\n\t'--sad=:('\n]\n*/\n\n\nconsole.log(dargs({\n\tfoo: 'bar',\n\thello: true,\n\tfile: 'baz'\n}, {aliases}));\n/*\n[\n\t'--foo=bar',\n\t'--hello',\n\t'-f', 'baz'\n]\n*/\n```\n\n## API\n\n### dargs(object, options?)\n\n#### object\n\nType: `object`\n\nObject to convert to command-line arguments.\n\n#### options\n\nType: `object`\n\n##### excludes\n\nType: `Array<string | RegExp>`\n\nKeys or regex of keys to exclude. Takes precedence over `includes`.\n\n##### includes\n\nType: `Array<string | RegExp>`\n\nKeys or regex of keys to include.\n\n##### aliases\n\nType: `object`\n\nMaps keys in `object` to an aliased name. Matching keys are converted to arguments with a single dash (`-`) in front of the aliased key and the value in a separate array item. Keys are still affected by `includes` and `excludes`.\n\n##### useEquals\n\nType: `boolean`\\\nDefault: `true`\n\nSetting this to `false` makes it return the key and value as separate array items instead of using a `=` separator in one item. This can be useful for tools that doesn't support `--foo=bar` style flags.\n\n```js\nimport dargs from 'dargs';\n\nconsole.log(dargs({foo: 'bar'}, {useEquals: false}));\n/*\n[\n\t'--foo', 'bar'\n]\n*/\n```\n\n##### shortFlag\n\nType: `boolean`\\\nDefault: `true`\n\nMake a single character option key `{a: true}` become a short flag `-a` instead of `--a`.\n\n```js\nimport dargs from 'dargs';\n\nconsole.log(dargs({a: true}));\n//=> ['-a']\n\nconsole.log(dargs({a: true}, {shortFlag: false}));\n//=> ['--a']\n```\n\n##### ignoreTrue\n\nType: `boolean`\\\nDefault: `false`\n\nExclude `true` values. Can be useful when dealing with argument parsers that only expect negated arguments like `--no-foo`.\n\n##### ignoreFalse\n\nType: `boolean`\\\nDefault: `false`\n\nExclude `false` values. Can be useful when dealing with strict argument parsers that throw on unknown arguments like `--no-foo`.\n\n##### allowCamelCase\n\nType: `boolean`\\\nDefault: `false`\n\nBy default, camel-cased keys will be hyphenated. Enabling this will bypass the conversion process.\n\n```js\nimport dargs from 'dargs';\n\nconsole.log(dargs({fooBar: 'baz'}));\n//=> ['--foo-bar', 'baz']\n\nconsole.log(dargs({fooBar: 'baz'}, {allowCamelCase: true}));\n//=> ['--fooBar', 'baz']\n```\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-dargs?utm_source=npm-dargs&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/dargs#readme","bugs":{"url":"https://github.com/sindresorhus/dargs/issues"},"license":"MIT"}