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:
- Parse a passwd file into a list of users.☆10Oct 19, 2016Updated 9 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Apr 26, 2017Updated 9 years ago
- 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
- Sink your streams.☆17Updated this week
- 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
- 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.
- 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
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Wrap a Readable stream in a Transform stream.☆10Oct 9, 2026Updated last week
- Find a file given a declaration of locations.☆12Updated 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
- Add/write sourcemaps to/from Vinyl files.☆16Updated this week
- 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.
- Utilities for the snapdragon parser/compiler.☆21Aug 12, 2020Updated 6 years ago
- 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
- 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
- Loop over each item in an array and call the given function on every element.☆16Feb 27, 2017Updated 9 years ago
- Gulp plugin that prompts you to choose the files pass through the stream.☆10Apr 29, 2017Updated 9 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Jun 18, 2021Updated 5 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.
- Return true if a file path contains the given path.☆17May 18, 2021Updated 5 years ago
- Create ansi colors by passing open and close codes.☆19Apr 12, 2024Updated 2 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
- Define a non-enumerable property on an object.☆21Mar 14, 2023Updated 3 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
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆28Nov 24, 2018Updated 7 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 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
- 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
- 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.
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Extract the git remote origin URL from your local git repository.☆16Feb 11, 2021Updated 5 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
- "description": "Copy a descriptor from object A to object B",☆11Jun 9, 2016Updated 10 years ago
- A tool for respawning node binaries when special flags are present.☆20Sep 25, 2026Updated 3 weeks ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Utils for working with JavaScript classes and prototype methods.☆19Mar 14, 2023Updated 3 years ago