A cross platform utility interface for working with filesystems in Node.js.
Cross-platform file path sorting. Sort an array of path strings or objects containing path strings.
Create an object of template partials from a glob of files to pass to any template engine.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Filter files by the given extension.
Replaces a file extension with another one
takes and full path to a file and remove all directories before the module. SO you get back a path relative to the module
Get the UTI (Uniform Type Identifier) of a file on macOS
Return a mapped dest for a src a filepath.
Get the icon of a file or app as a PNG image (macOS)
Check if a path is in PATH
Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.
Create a filepath from an object path (dot notation), list of arguments, array, number or Arguments object.
Find directory files, and return an array
Asynchronously return an array containing the paths of all files in a directory and its subdirectories
Returns the depth of a file or directory, e.g. number of folders deep.
Metalsmith plugin that adds relativity path metadata to files
Hierarchical filepath resolver
powered by npms.io 🚀