jonschlinkert / is-directoryLinks
Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.
☆27Updated 8 years ago
Alternatives and similar repositories for is-directory
Users that are interested in is-directory are comparing it to the libraries listed below
Sorting:
- Center-align the text in a string.☆23Updated 8 years ago
- Similar to String#trim() but removes only whitespace on the right☆21Updated 4 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 years ago
- Parse a glob pattern into an object of path parts.☆25Updated 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
- Does a shallow comparison of two objects, returning false if the keys or values differ.☆29Updated 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…☆23Updated 8 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Create an array by repeating the given string n times.☆19Updated 4 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.☆14Updated 7 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Apply an async function to each Array element in series☆21Updated 9 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 4 years ago
- Returns true if a string has an extglob☆23Updated 6 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆25Updated 6 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Updated 8 years ago
- Detect whether or not an object is a Typed Array☆21Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Find a file given a declaration of locations.☆12Updated 3 years ago
- Return true if the file is (or the file path has) a dotfile.☆14Updated 8 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 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
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Updated 6 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year