Uses a breadth-first search, when necessary, to resolve the file path using the correct casing, and verify that the file actually exists. Returns consistent results regardless of case sensitivity of the file path and/or operating system.
☆12Sep 1, 2017Updated 9 years ago
Alternatives and similar repositories for detect-file
Users that are interested in detect-file are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Sink your streams.☆17Oct 26, 2026Updated last week
- Like `extend` but only copies missing properties/values to the target object.☆17Apr 26, 2017Updated 9 years ago
- Find a file given a declaration of locations.☆12Oct 19, 2026Updated 2 weeks ago
- Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or…☆12Sep 1, 2017Updated 9 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12May 12, 2026Updated 5 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.☆24Mar 16, 2022Updated 4 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Add/write sourcemaps to/from Vinyl files.☆16Updated this week
- Resolve a directory that is either local, global or in the user's home directory.☆14Aug 5, 2017Updated 9 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Jul 12, 2026Updated 3 months ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Nov 21, 2022Updated 3 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Node.js path.dirname() ponyfill☆13Nov 13, 2021Updated 4 years ago
- Get the npm global path prefix. Same code used internally by npm.☆29Aug 17, 2024Updated 2 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
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- Loop over each item in an array and call the given function on every element.☆15Feb 27, 2017Updated 9 years ago
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Jun 18, 2021Updated 5 years ago
- Return true if a file path contains the given path.☆17May 18, 2021Updated 5 years ago
- Utilities for the snapdragon parser/compiler.☆21Aug 12, 2020Updated 6 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Gulp plugin that prompts you to choose the files pass through the stream.☆10Apr 29, 2017Updated 9 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20May 10, 2016Updated 10 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- Define a non-enumerable property on an object.☆21Mar 14, 2023Updated 3 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆21Apr 5, 2018Updated 8 years ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆28Nov 24, 2018Updated 7 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…☆23Feb 27, 2017Updated 9 years ago
- Extract the git remote origin URL from your local git repository.☆16Feb 11, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- A tool for respawning node binaries when special flags are present.☆21Sep 25, 2026Updated last month
- Create ansi colors by passing open and close codes.☆19Apr 12, 2024Updated 2 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Aug 27, 2019Updated 7 years ago
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Mar 3, 2018Updated 8 years ago
- Utils for working with JavaScript classes and prototype methods.☆19Mar 14, 2023Updated 3 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 5 years ago