Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getopts

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getopts - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc