sindresorhus / has-flagLinks
Check if argv has a specific flag
☆96Updated 4 years ago
Alternatives and similar repositories for has-flag
Users that are interested in has-flag are comparing it to the libraries listed below
Sorting:
- Check if your package was installed globally☆70Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Slice a string with ANSI escape codes☆50Updated 3 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Indent each line in a string☆114Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Lazy number range generator☆82Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Get the path of the parent module☆79Updated 3 months ago
- Copy a file☆122Updated 4 months ago
- A better `Promise.race()`☆51Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆145Updated 3 months ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Check if a string is a valid filename☆63Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 3 months ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Create an array without duplicates☆74Updated 4 years ago
- Regular expression for matching issue references☆49Updated last year
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Randomize the order of items in an array☆109Updated 3 months ago