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 2.0.3 to 2.0.4

2

package.json
{
"name": "getopts",
"description": "Node.js CLI options parser.",
"version": "2.0.3",
"version": "2.0.4",
"main": "index.js",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -61,3 +61,3 @@ # Getopts

Arguments that begin with one or two dashes are called options or flags. Options may have one or more [aliases](#optsalias). The underscore key stores operands. Operands include non-options, the single dash `-` and all the arguments after `--`.
Arguments that begin with one or two dashes are called options or flags. Options may have one or more [aliases](#optionsalias). The underscore key stores operands. Operands include non-options, the single dash `-` and all the arguments after `--`.

@@ -78,3 +78,3 @@ #### options.alias

An array of options that should be parsed as booleans. In the example, by indicating <samp>U</samp> to be a boolean option, <samp>1</samp> is parsed as an operand.
An array of options that should be parsed as booleans. In the example, by indicating that `U` is a boolean option, the number `1` is parsed as an operand and not as a value.

@@ -81,0 +81,0 @@ ```js

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