Search results
178 packages found
A toolkit for simplifying working with paths and files.
Detects if a file exists and returns the resolved filepath.
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.
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.
Returns true if a windows file path has invalid characters.
Convert a string to be able to use as a filename with Japanese characters.
Class wrapper for interacting with file paths.
Returns true if a filepath exists on the file system and it's directory.
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
Regular expression for matching file names, with or without extension.
Convert a dependency path into a filepath
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