Search results
3314 packages found
Returns true if a file path does not contain any invalid characters.
Convert a file: URI to a file path
Get a random temporary file or directory path
ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder
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`.
Get the path of the caller function
Returns `true` if the path appears to be relative.
Safely perform async operations on the same file
Read the entire contents of a file.
Check if a file path is a text file
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
Node.js path.dirname() ponyfill
Convert a string to a valid safe filename
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.
detect file extensions, check if text or binary file, or get list of text or binary file extensions
- binary
- extensions
- extension
- file
- path
- check
- detect
- is
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- View more
Find a file or directory by walking up parent directories recursively. Zero dependency.
Smart and effective path truncation.
Check if a path is the current working directory
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
The Transformer library provides a comprehensive set of tools for transforming data between various formats, including base64 strings, Uint8Arrays, Blobs, and File objects. It also includes a FormDataTransformer class for converting between FormData objec