Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "getopts", | ||
"description": "Node.js CLI options parser.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
@@ -18,3 +18,2 @@ "license": "MIT", | ||
"test": "nyc -r lcov tape test/*.js && nyc report", | ||
"format": "prettier --semi false --write '*.js'", | ||
"release": "npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push origin master && git push --tags && npm publish" | ||
@@ -24,5 +23,4 @@ }, | ||
"nyc": "^11.2.1", | ||
"prettier": "~1.7.4", | ||
"tape": "^4.8.0" | ||
} | ||
} |
@@ -8,2 +8,6 @@ # Getopts | ||
* **Swift**: Getopts is 10 to 1000 times faster than the alternatives. See [benchmarks](./bench/README.md) for details. | ||
* **Familiar**: Getopts works similarly to other CLI parsers like [mri](https://github.com/lukeed/mri), [yargs](https://github.com/yargs/yargs) and [minimist](https://github.com/substack/minimist). | ||
* **Predictable**: Getopts is designed according to the [Utility Syntax Guidelines](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html). | ||
## Installation | ||
@@ -19,6 +23,6 @@ | ||
Use getopts to parse the arguments passed into your program. | ||
Use Getopts to parse the arguments passed into your program. | ||
```console | ||
$ example --jet --mode=turbo -xfv12 -- game over | ||
$ example/demo --jet --mode=turbo -xfv12 -- game over | ||
``` | ||
@@ -25,0 +29,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7985
2
152