Skip to content

Glossary: Node.js Basics

Flag (option)

Also written: flag, option, options, flags

A word starting with `-` or `--` that changes what a command does, such as `--json`, `-e` or `-h`. Some are yes/no and some take a value, like `--limit 5`.

Where the book teaches it

Related terms

parseArgsPositional argumentSubcommand