jonschlinkert / is-directory
Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.
☆27Updated 8 years ago
Related projects ⓘ
Alternatives and complementary repositories for is-directory
- Modify the filename in a path☆16Updated 2 years ago
- Check if a number is a redirect HTTP status code☆23Updated 3 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆21Updated 3 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- Returns true if a string has an extglob☆22Updated 5 years ago
- Apply custom attributes to vinyl files☆14Updated 9 years ago
- Find a file given a declaration of locations.☆12Updated 2 years ago
- Find array elements. Executes a callback for each element, returns the first element for which its callback returns a truthy value.☆29Updated 5 years ago
- Create an array by repeating the given string n times.☆19Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Find the module object for something that was require()d☆26Updated last year
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Center-align the text in a string.☆22Updated 7 years ago
- WeakMap collection as specified in ECMAScript6☆29Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Apply an async function to each Array element in series☆21Updated 9 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆34Updated 3 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Updated 5 years ago
- Module to wrap try-catch for better performance and cleaner API.☆22Updated 8 years ago
- Simple `setImmediate` shim☆28Updated 8 months ago
- Glob matching with support for multiple patterns and negation. Use `~` in cwd to find files in user home, or `@` for global npm modules.☆25Updated 4 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆37Updated 11 months ago
- Parse a glob pattern into an object of path parts.☆25Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- A tiny stream log☆54Updated 5 years ago