Check if argv has a specific flag
☆97Sep 18, 2026Updated 2 months ago
Alternatives and similar repositories for has-flag
Users that are interested in has-flag are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Check if a file path is a binary file☆50Sep 18, 2026Updated 2 months ago
- Strip the final newline character from a string/buffer☆39Sep 18, 2026Updated 2 months ago
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- List of binary file extensions☆90Sep 18, 2026Updated 2 months ago
- DES for browserify☆10Dec 21, 2024Updated last year
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated 2 months ago
- Define a non-enumerable property on an object.☆22Mar 14, 2023Updated 3 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆13Nov 11, 2026Updated last week
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Check if an object can be used like an Array☆18Sep 13, 2025Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆24Feb 27, 2017Updated 9 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- abstract base class for hash-streams☆12Sep 23, 2025Updated last year
- ☆19Dec 21, 2024Updated last year
- Unpipe a stream from all destinations☆22Dec 15, 2020Updated 5 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Check if a path is a file, directory, or symlink☆82Sep 18, 2026Updated 2 months ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Call the given method on each value in the given object.☆21Mar 14, 2023Updated 3 years ago
- Check if a path exists☆156Sep 18, 2026Updated 2 months ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- Lowercase the keys of an object☆43Sep 18, 2026Updated 2 months ago
- Try to guess if your terminal supports unicode☆19Dec 16, 2020Updated 5 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Jan 25, 2022Updated 4 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Removes all separators from the end of a string.☆12Dec 12, 2017Updated 8 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated 2 months ago
- Check if a path is inside another path☆41Sep 18, 2026Updated 2 months ago
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Node.js path.dirname() ponyfill☆14Nov 13, 2021Updated 5 years ago
Are these results useful?