Search results
178 packages found
A toolkit for simplifying working with paths and files.
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Convert Windows file paths to unix paths.
Match filepath is validated, or exclude filepath that don't need.
Regular expression for getting the root of a posix or windows filepath.
Returns true if a windows file path has invalid characters.
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Convert a string to be able to use as a filename with Japanese characters.
Returns true if a filepath exists on the file system and it's directory.
Class wrapper for interacting with file paths.
Checks if provided string looks like a valid path
Write data to a file
- asyncfile
- systemfile
- filepath
- files
- filesystem
- folder
- fs
- fs.writeFile
- fs.writeFileSync
- path
- promise
- write
- writefile
- file-write
Transform relative path or glob pattern to absolute
Get the existing part of a given path, asynchronously
Convert a dependency path into a filepath
Regular expression for matching file names, with or without extension.
Check if a path is in the current working directory
Finds the absolute filepath to the original sourcecode of any defined value
Convert file paths to start with their base directory