has-flag
Check if argv has a specific flag
$
npm install has-flagOfficial docs outline
Extra Credit builds an outline of has-flag's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
json-schema-traverse Traverse JSON Schema passing each schema object to callback
-
glob-parent Extract the non-magic parent path from a glob string.
-
p-limit Run multiple promise-returning & async functions with limited concurrency
-
find-up Find a file or directory by walking up parent directories
-
ignore Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
-
p-locate Get the first fulfilled promise that satisfies the provided testing function
-
safe-buffer Safer Node.js Buffer API
-
locate-path Get the first path that exists on disk of multiple paths
-
isexe Minimal module to check if a file is executable.
-
iconv-lite Convert character encodings in pure javascript.
-
path-key Get the PATH environment variable key cross-platform
-
postcss Tool for transforming styles with JS plugins