sindresorhus / has-flagLinks
Check if argv has a specific flag
☆95Updated 3 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 last year
- Lazy number range generator☆81Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 9 months ago
- Get the path of the parent module☆77Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- Stylelint shareable config for XO☆41Updated 3 weeks ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Linkify GitHub issue references☆46Updated 8 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Conditional promise chains☆61Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Import a globally installed module☆58Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆47Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Extract the article title of a HTML document☆54Updated 3 years ago
- Create a HTML element string☆91Updated 6 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Resolve the path of a globally installed module☆41Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year