Search results
3853 packages found
A tiny function for converting a file URL to a file path.
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`.
Returns `true` if the path appears to be relative.
Safely perform async operations on the same file
Get the path of the caller function
Read the entire contents of a 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)
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
Node.js path.dirname() ponyfill
Convert a string to a valid safe filename
Check if a path is the current working directory
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
Smart and effective path truncation.
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
[![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
Find a file or directory by walking up parent directories recursively. Zero dependency.