Search results
148 packages found
Get the first path that exists on disk of multiple paths
Node.js path.parse() ponyfill
compute the closest common parent for file paths
Webpack loader that resolves relative paths in url() statements based on the original source file
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Check to see if a directory exists
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
- __dirname
- __filename
- commonjs
- deno
- deno-edition
- deno-entry
- denoland
- directory
- dirname
- ecmascript
- es2022
- es5
- esm
- export-default
- View more
Node.js path.dirname() ponyfill
Rewrites filesystem paths
Easily find files in chosen directories in your project
A toolkit for simplifying working with paths and files.
Convenient container class for file system paths
Convert Windows file paths to unix paths.
Returns true if a filepath exists on the file system and it's directory.
Get the overlapping part of two file paths
Given a list of file paths, outputs a pretty-printed file tree
Class wrapper for interacting with file paths.
Collapse paths that are part of another path.
Node.js path.format() polyfill
To get paths of all the files and folder under the given target path asynchronously