{"_id":"mixarg","_rev":"2832546","name":"mixarg","description":"mixin argument with defaults using minimist","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"popomore","email":""}],"time":{"modified":"2022-09-06T15:17:41.000Z","created":"2014-09-16T15:01:49.706Z","0.2.0":"2014-12-17T09:05:54.520Z","0.1.1":"2014-09-16T15:17:16.791Z","0.1.0":"2014-09-16T15:01:49.706Z"},"users":{},"author":{"name":"popomore","email":"sakura9515@gmail.com"},"repository":{"type":"git","url":"https://github.com/popomore/mixarg"},"versions":{"0.2.0":{"name":"mixarg","version":"0.2.0","description":"mixin argument with defaults using minimist","main":"index","dependencies":{"extend":"~1.3.0","minimist":"~1.1.0"},"devDependencies":{"coveralls":"2","istanbul":"0","jshint":"*","mocha":"1","should":"~4.0.4"},"repository":{"type":"git","url":"https://github.com/popomore/mixarg"},"homepage":"https://github.com/popomore/mixarg","author":{"name":"popomore","email":"sakura9515@gmail.com"},"license":"MIT","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/popomore/mixarg/issues"},"_id":"mixarg@0.2.0","dist":{"shasum":"e5570adc996b16c0814216acc9ae1c199eda6b5b","size":1627,"noattachment":false,"key":"/mixarg/-/mixarg-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixarg/download/mixarg-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"maintainers":[{"name":"popomore","email":""}],"directories":{},"publish_time":1418807154520,"_hasShrinkwrap":false,"_cnpm_publish_time":1418807154520,"_cnpmcore_publish_time":"2021-12-16T14:00:38.037Z"},"0.1.1":{"name":"mixarg","version":"0.1.1","description":"mixin argument with defaults using minimist","main":"index","dependencies":{"extend":"~1.3.0","minimist":"~1.1.0"},"devDependencies":{"coveralls":"2","istanbul":"0","jshint":"*","mocha":"1","should":"~4.0.4"},"repository":{"type":"git","url":"https://github.com/popomore/mixarg"},"homepage":"https://github.com/popomore/mixarg","author":{"name":"popomore","email":"sakura9515@gmail.com"},"license":"MIT","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/popomore/mixarg/issues"},"_id":"mixarg@0.1.1","dist":{"shasum":"989c224a9a3b4cee18033103ecb6f1edbd5332fa","size":1684,"noattachment":false,"key":"/mixarg/-/mixarg-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixarg/download/mixarg-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"maintainers":[{"name":"popomore","email":""}],"directories":{},"publish_time":1410880636791,"_hasShrinkwrap":false,"_cnpm_publish_time":1410880636791,"_cnpmcore_publish_time":"2021-12-16T14:00:38.340Z"},"0.1.0":{"name":"mixarg","version":"0.1.0","description":"mixin argument with defaults using minimist","main":"index","dependencies":{"extend":"~1.3.0","minimist":"~1.1.0"},"devDependencies":{"coveralls":"2","istanbul":"0","jshint":"*","mocha":"1","should":"~4.0.4"},"repository":{"type":"git","url":"https://github.com/popomore/mixarg"},"homepage":"https://github.com/popomore/mixarg","author":{"name":"popomore","email":"sakura9515@gmail.com"},"license":"MIT","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/popomore/mixarg/issues"},"_id":"mixarg@0.1.0","dist":{"shasum":"0f502131c0406b4bf3c05620301d8055739fa420","size":1646,"noattachment":false,"key":"/mixarg/-/mixarg-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixarg/download/mixarg-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"maintainers":[{"name":"popomore","email":""}],"directories":{},"publish_time":1410879709706,"_hasShrinkwrap":false,"_cnpm_publish_time":1410879709706,"_cnpmcore_publish_time":"2021-12-16T14:00:38.588Z"}},"readme":"# mixarg\n\n[![NPM version](https://img.shields.io/npm/v/mixarg.svg?style=flat)](https://npmjs.org/package/mixarg)\n[![Build Status](https://img.shields.io/travis/popomore/mixarg.svg?style=flat)](https://travis-ci.org/popomore/mixarg)\n[![Build Status](https://img.shields.io/coveralls/popomore/mixarg?style=flat)](https://coveralls.io/r/popomore/mixarg)\n[![NPM downloads](http://img.shields.io/npm/dm/mixarg.svg?style=flat)](https://npmjs.org/package/mixarg)\n\nmixin argument with defaults using minimist\n\n---\n\n## Install\n\n```\n$ npm install mixarg -g\n```\n\n## Usage\n\n```\nvar mixarg = require('mixarg');\nvar default = {\n  cwd: process.cwd(),\n  include: 'relative',\n  verbose: false\n};\nmixarg(defaults, '--verbose --include=all', {cwd: '/home/admin'});\n// return\n// {\n//   cwd: '/home/admin',\n//   include: 'all',\n//   verbose: true\n// }\n```\n\n## API\n\nmixarg(arg1, ..., argN);\n\n- arg should be object or string(parsed by minimist)\n- the latter argument has high priority than the former one\n\n## LISENCE\n\nCopyright (c) 2014 popomore. Licensed under the MIT license.\n","_attachments":{},"homepage":"https://github.com/popomore/mixarg","bugs":{"url":"https://github.com/popomore/mixarg/issues"},"license":"MIT"}