jonschlinkert / contains-path
Return true if a file path contains the given path.
☆17Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for contains-path
- Map `visit` over an array of objects.☆17Updated 2 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 3 years ago
- Returns true if a string has an extglob☆22Updated 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…☆20Updated 3 years ago
- Call the given method on each value in the given object.☆20Updated last year
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Updated 3 years ago
- Regular expression for getting the root of a posix or windows filepath.☆13Updated 6 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12Updated last year
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 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…☆24Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Get the list of npm modules that depend on the specified npm module.☆15Updated 6 years ago
- Define a non-enumerable property on an object.☆21Updated last year
- Create an array by repeating the given string n times.☆19Updated 3 years ago
- Sink your streams.☆17Updated last year
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 7 years ago
- Get the command from a shebang☆22Updated 3 years ago
- Returns an array of mapped values from an array or object.☆16Updated 7 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆20Updated 3 months ago
- Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those incre…☆9Updated 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…☆19Updated 3 years ago
- Return true if the file is (or the file path has) a dotfile.☆13Updated 7 years ago
- fs read and write streams based on minipass☆21Updated 3 months ago
- Simple way to initialize a new git repository in an empty directory, add a file and do a first commit (or skip that part in a directory w…☆11Updated 6 years ago
- Utils for working with JavaScript classes and prototype methods.☆19Updated last year
- 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.☆14Updated 6 years ago
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Updated 3 years ago