10 packages found
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
- View more
vfile utility to create a vfile from a filepath
Detects if a file exists and returns the resolved filepath.
Remove leading directory components from a path, like tar's --strip-components option
Read file or directory into vfile.
file path utils for the browser and node.js
Filter files by the given extension.
Resolves path to a file in a Node Js when we require a file.
Recursively read directories and return a list of files, filtered to have only the files for which the (optional) filter function returns `true`. Sync and async.
Functions for fantastically fast file filtering, and more things that start with 'f'.