Name: js-handler/node_modules/optimist/node_modules/minimist/package.json
| 1: | { |
| 2: | "name": "minimist", |
| 3: | "version": "0.0.1", |
| 4: | "description": "parse argument options", |
| 5: | "main": "index.js", |
| 6: | "devDependencies": { |
| 7: | "tape": "~1.0.4", |
| 8: | "tap": "~0.4.0" |
| 9: | }, |
| 10: | "scripts": { |
| 11: | "test": "tap test/*.js" |
| 12: | }, |
| 13: | "testling": { |
| 14: | "files": "test/*.js", |
| 15: | "browsers": [ |
| 16: | "ie/6..latest", |
| 17: | "ff/3.6", |
| 18: | "firefox/latest", |
| 19: | "chrome/10", |
| 20: | "chrome/latest", |
| 21: | "safari/5.1", |
| 22: | "safari/latest", |
| 23: | "opera/12" |
| 24: | ] |
| 25: | }, |
| 26: | "repository": { |
| 27: | "type": "git", |
| 28: | "url": "git://github.com/substack/minimist.git" |
| 29: | }, |
| 30: | "homepage": "https://github.com/substack/minimist", |
| 31: | "keywords": [ |
| 32: | "argv", |
| 33: | "getopt", |
| 34: | "parser", |
| 35: | "optimist" |
| 36: | ], |
| 37: | "author": { |
| 38: | "name": "James Halliday", |
| 39: | "email": "[email protected]", |
| 40: | "url": "http://substack.net" |
| 41: | }, |
| 42: | "license": "MIT", |
| 43: | "readme": "# minimist\n\nparse argument options\n\nThis module is the guts of optimist's argument parser without all the\nfanciful decoration.\n\n[](http://ci.testling.com/substack/minimist)\n\n[](http://travis-ci.org/substack/minimist)\n\n# example\n\n``` js\nvar argv = require('minimist')(process.argv.slice(2));\nconsole.dir(argv);\n```\n\n```\n$ node example/parse.js -a beep -b boop\n{ _: [], a: 'beep', b: 'boop' }\n```\n\n```\n$ node example/parse.js -x 3 -y 4 -n5 -abc --beep=boop foo bar baz\n{ _: [ 'foo', 'bar', 'baz' ],\n x: 3,\n y: 4,\n n: 5,\n a: true,\n b: true,\n c: true,\n beep: 'boop' }\n```\n\n# methods\n\n``` js\nvar parseArgs = require('minimist')\n```\n\n## var argv = parseArgs(args, opts={})\n\nReturn an argument object `argv` populated with the array arguments from `args`.\n\n`argv._` contains all the arguments that didn't have an option associated with\nthem.\n\nNumeric-looking arguments will be returned as numbers unless `opts.string` or\n`opts.boolean` is set for that argument name.\n\nAny arguments after `'--'` will not be parsed and will end up in `argv._`.\n\noptions can be:\n\n* `opts.string` - a string or array of strings argument names to always treat as\nstrings\n* `opts.boolean` - a string or array of strings to always treat as booleans\n* `opts.alias` - an object mapping string names to strings or arrays of string\nargument names to use as aliases\n* `opts.default` - an object mapping string argument names to default values\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install minimist\n```\n\n# license\n\nMIT\n", |
| 44: | "readmeFilename": "readme.markdown", |
| 45: | "bugs": { |
| 46: | "url": "https://github.com/substack/minimist/issues" |
| 47: | }, |
| 48: | "_id": "[email protected]", |
| 49: | "dist": { |
| 50: | "shasum": "0cf03b60aad248d6d51decd3985c3a8ac46e36a3" |
| 51: | }, |
| 52: | "_from": "[email protected]~0.0.1", |
| 53: | "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.1.tgz" |
| 54: | } |
