Search results
4334 packages found
Smart and effective path truncation.
Drop-in replacement of the Node.js path module.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Find a file or directory by walking up parent directories — Zero dependencies
Pollyfill for node.js `path.parse`, parses a filepath into an object.
- absolute
- basename
- dir
- directory
- dirname
- ext
- extension
- extname
- file
- filename
- filepath
- is-absolute
- name
- object
- View more
Get the hidden equivalent of a file path
A toolkit for simplifying working with paths and files.
Resolve a path by walking parent directories.
Regular expression to detect an extended-length path.
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
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- iterate
- typedarrays
- telephone
- type
- jasmine
- multi-package
- define
- mimetypes
- korean
- toobject
- inspect
- react-hook-form
- Uint16Array
- regular
- View more
Returns true if a windows file path has invalid characters.
Collapse paths that are part of another path.
Check to see if a directory exists
Recursively reads all files or directories in the directory.
Read the closest package.json file
Rollup plugin for rewriting the output file/directory path
Easily find files in chosen directories in your project
Regular expression for getting the root of a posix or windows filepath.
Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
- async
- file path
- file system
- file
- filepath
- files
- filesystem
- folder
- fs
- fs.writeFile
- fs.writeFileSync
- path
- promise
- streams
- View more