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 8 years ago
Alternatives and similar repositories for detect-file
Users that are interested in detect-file are comparing it to the libraries listed below
Sorting:
- Like `extend` but only copies missing properties/values to the target object.☆17Apr 26, 2017Updated 8 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 3 years ago
- Get the npm global path prefix. Same code used internally by npm.☆29Aug 17, 2024Updated last year
- Utilities for the snapdragon parser/compiler.☆18Aug 12, 2020Updated 5 years ago
- Wrap a Readable stream in a Transform stream.☆10Apr 6, 2023Updated 2 years ago
- Gulp plugin that prompts you to choose the files pass through the stream.☆10Apr 29, 2017Updated 8 years 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 8 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor reformatting.☆19Dec 6, 2022Updated 3 years ago
- Sink your streams.☆17Apr 15, 2023Updated 2 years ago
- Add/write sourcemaps to/from Vinyl files.☆16Apr 6, 2023Updated 2 years ago
- Node.js path.dirname() ponyfill☆13Nov 13, 2021Updated 4 years ago
- Find a file given a declaration of locations.☆12Mar 19, 2022Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated 2 months ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Aug 5, 2017Updated 8 years ago
- Loop over each item in an array and call the given function on every element.☆14Feb 27, 2017Updated 9 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 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 an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 8 years ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆26Nov 24, 2018Updated 7 years ago
- Return true if a file path contains the given path.☆17May 18, 2021Updated 4 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 8 years ago
- Uses babel to extract JavaScript code comments from a string. Returns an array of comment objects, with line, column, index, comment type…☆14May 22, 2018Updated 7 years ago
- A tool for respawning node binaries when special flags are present.☆21Dec 30, 2025Updated 2 months ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 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
- 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 4 years ago
- Extend object A with the properties of object B. node.js/javascript util.☆33Aug 7, 2021Updated 4 years ago
- Create ansi colors by passing open and close codes.☆19Apr 12, 2024Updated last year
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Jun 18, 2021Updated 4 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20May 10, 2016Updated 9 years ago
- Utils for working with JavaScript classes and prototype methods.☆19Mar 14, 2023Updated 2 years ago
- Define a non-enumerable property on an object.☆21Mar 14, 2023Updated 2 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Dec 30, 2025Updated 2 months ago
- Scaffold out a Generate generator project.☆11Aug 30, 2016Updated 9 years ago
- Filter an object to have only the `own` properties for which a `callback` function returns true.☆15Oct 27, 2018Updated 7 years ago
- Faster, node.js focused alternative to JavaScript's native array map.☆14Feb 28, 2017Updated 9 years ago