get-first-from-filepath
Get the very first directory name from file path `./foo/bar/baz` -> `foo` or `../a/b/c` -> `../a`. Useful when you just want first real directory from given file path
Get the very first directory name from file path `./foo/bar/baz` -> `foo` or `../a/b/c` -> `../a`. Useful when you just want first real directory from given file path
get a file path from an initial path
Replaces a file extension with another one
Convert a string to a valid safe filename
Adds destination-related properties to the `file.data.dest` object on vinyl files.
Load template engine helpers (handlebars, lo-dash, etc) from file paths, globs, arrays or objects.
Get the existing part of a given path, asynchronously
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
A toolkit for simplifying working with paths and files.
Check if a path exists
Get the icon of a file or app as a PNG image (macOS)
Remove leading directory components from a path!
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Get path to file by it's name
🌟 An npm module that strongly types file paths! 🥊
Convert string to safe filename
Check if a path is the current working directory. This is a fork of sindresorhus/is-path-cwd, but with CommonJS support.
Filepath rename for next.
A convenient way for changing parts of filepath.
A JavaScript tool to easily convert paths between DOS, Unix, and escaped formats