Skip to content
JS
Package category

Files and file systems

Read, write, watch, glob and upload files.

629 packages5 comparisons

Packages compared

629 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
filelist
Lazy-evaluating list of files, based on globs or regex patterns
22.3m+32%-5 months ago
2.0.2
CommonJSBundledFiles and file systems
form-data-encoder
Encode FormData content into the multipart/form-data format
20.1m+118%-1 year ago
4.1.0
ESM + CommonJSBundledFiles and file systems, Promises and async control flow
fs-monkey
Monkey patches for file system related things.
18.9m+29%-1 year ago
1.1.0
CommonJSNoneFiles and file systems
proper-lockfile
A inter-process and inter-machine lockfile utility that works on a local or network file system
18.7m+464%-5 years ago
4.1.2
CommonJSNoneFiles and file systems
formidable
A node.js module for parsing form data, especially file uploads.
17.5m+58%-1 year ago
3.5.4
ESM + CommonJSNoneFiles and file systems
global-dirs
Get the directory of globally installed packages and binaries
14.6m+3%-2 years ago
4.0.0
-BundledFiles and file systems
expand-brackets
Expand POSIX bracket expressions (character classes) in glob patterns.
13.8m-12%-8 years ago
4.0.0
CommonJSNoneFiles and file systems
extglob
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
13.4m-17%-8 years ago
3.0.0
CommonJSNoneFiles and file systems
filesize
Lightweight, zero-dependency JavaScript utility to convert bytes to human-readable strings with localization support
13.3m+6%-10 days ago
11.0.24
ESM + CommonJSBundledFiles and file systems
tempy
Get a random temporary file or directory path
13.2m+34%-7 months ago
3.2.0
ESM onlyBundledFiles and file systems
global-directory
Get the directory of globally installed packages and binaries
12.9m+169%-7 months ago
5.0.0
ESM onlyBundledFiles and file systems
ignore-walk
Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.
12.8m+21%-4 months ago
9.0.0
CommonJSNoneFiles and file systems
del
Delete files and directories
12.3m-10%-1 year ago
8.0.1
ESM onlyBundledFiles and file systems
formdata-node
Spec-compliant FormData implementation for Node.js
12.1m+140%-2 years ago
6.0.3
ESM + CommonJSBundledPolyfills and shims, Files and file systems
memory-fs
A simple in-memory filesystem. Holds data in a javascript object.
11.4m-5%-6 years ago
0.5.0
CommonJSNoneFiles and file systems
systeminformation
Advanced, lightweight system and OS information library
11.1m+298%-5 days ago
5.33.13
CommonJSBundledFiles and file systems, Video and audio
resolve-dir
Resolve a directory that is either local, global or in the user's home directory.
11.1m+14%-9 years ago
1.0.1
CommonJSNoneFiles and file systems
matcher
Simple wildcard matching
9.5m+142%-1 year ago
6.0.0
ESM onlyBundledFiles and file systems
react-dropzone
Simple HTML5 drag-drop zone with React.js
9.4m+104%-11 days ago
20.1.2
ESM + CommonJSBundledDOM and browser utilities, React
ignore-by-default
A list of directories you should ignore by default
9.3m+32%-4 years ago
2.1.0
CommonJSNoneFiles and file systems
nanomatch
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)
9.2m-17%-8 years ago
1.2.13
CommonJSNoneFiles and file systems
findup-sync
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
9.2m+4%-4 years ago
5.0.0
CommonJSNoneFiles and file systems
glob-to-regex.js
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
8.9m+377%-12 days ago
1.3.1
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-core
Core filesystem primitives: Node, Link, File, Superblock
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-node-builtins
Node.js standard library dependencies for fs-related packages
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-node-utils
Utility functions for Node.js fs module
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems, TypeScript tooling
@jsonjoy.com/fs-snapshot
File system snapshot - serialize and deserialize file system trees to binary or JSON
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-fsa
File System Access API implementation backed by core filesystem primitives
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-node-to-fsa
Adapter to convert Node.js fs API to File System Access API
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-node
In-memory filesystem with Node.js fs-compatible API
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
@jsonjoy.com/fs-print
File system tree printer - print a file system structure as a tree
7.8m--3 days ago
4.79.0
CommonJSBundledFiles and file systems
stubborn-fs
Stubborn versions of Node's fs functions that try really hard to do their job.
7.5m+301%-10 months ago
2.0.0
ESM onlyBundledFiles and file systems
globjoin
Join paths and globs.
7.5m+61%-2 days ago
1.0.1
ESM onlyBundledFiles and file systems
is-directory
Returns true if a filepath exists on the file system and it's directory.
7.1m-20%-10 years ago
0.3.1
CommonJSNoneFiles and file systems
detect-file
Detects if a file exists and returns the resolved filepath.
7m-7%-9 years ago
1.0.0
CommonJSNoneFiles and file systems
expo-file-system
Provides access to the local file system on the device.
6.8m+310%-14 days ago
57.0.7
CommonJSBundledFiles and file systems, React
vinyl
Virtual file format.
6.5m+12%-1 year ago
3.0.1
CommonJSNoneFiles and file systems
unixify
Convert Windows file paths to unix paths.
6.2m+42%-9 years ago
1.0.0
CommonJSNoneFiles and file systems
multimatch
Extends `minimatch.match()` with support for multiple patterns
6m+14%-7 months ago
8.0.0
ESM onlyBundledFiles and file systems
read-package-up
Read the closest package.json file
5.6m+112%-10 months ago
12.0.0
ESM onlyBundledFiles and file systems
klaw
File system walker with Readable stream interface.
5.4m+24%-3 years ago
4.1.0
CommonJSNoneFiles and file systems
klaw-sync
Recursive, synchronous, and fast file system walker
4.8m+43%-3 months ago
8.0.0
CommonJSNoneFiles and file systems
write
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.
4.2m-20%-7 years ago
2.0.0
CommonJSNoneFiles and file systems, Promises and async control flow
ospath
Operating system specific paths.
4m-22%-10 years ago
1.2.2
CommonJSNoneFiles and file systems
sane
Sane aims to be fast, small, and reliable file system watcher.
3.9m-19%-5 years ago
5.0.1
CommonJSNoneFiles and file systems
@openclaw/fs-safe
Capability-style filesystem roots for Node.js apps that handle untrusted relative paths.
3.8m--today
0.19.0
ESM onlyBundledTypeScript tooling, Files and file systems
clone-stats
Safely clone node's fs.Stats instances without losing their class methods
3.7m-13%-10 years ago
1.0.0
CommonJSNoneFiles and file systems
junk
Filter out system junk files like .DS_Store and Thumbs.db
3.6m+22%-3 years ago
4.0.1
ESM onlyBundledFiles and file systems
find-file-up
Find a file fast, by starting at the given cwd and recursing up one directory until the file is found or we run out of directories.
3.4m+20%-8 years ago
2.0.1
CommonJSNoneFiles and file systems
@cnakazawa/watch
Utilities for watching file trees.
3.3m-30%-6 years ago
1.0.4
CommonJSNoneFiles and file systems

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • filelistLazy-evaluating list of files, based on globs or regex patterns
  • form-data-encoderEncode FormData content into the multipart/form-data format
  • fs-monkeyMonkey patches for file system related things.
  • proper-lockfileA inter-process and inter-machine lockfile utility that works on a local or network file system
  • formidableA node.js module for parsing form data, especially file uploads.
  • global-dirsGet the directory of globally installed packages and binaries
  • expand-bracketsExpand POSIX bracket expressions (character classes) in glob patterns.
  • extglobExtended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
  • filesizeLightweight, zero-dependency JavaScript utility to convert bytes to human-readable strings with localization support
  • tempyGet a random temporary file or directory path
  • global-directoryGet the directory of globally installed packages and binaries
  • ignore-walkNested/recursive `.gitignore`/`.npmignore` parsing and filtering.
  • delDelete files and directories
  • formdata-nodeSpec-compliant FormData implementation for Node.js
  • memory-fsA simple in-memory filesystem. Holds data in a javascript object.
  • systeminformationAdvanced, lightweight system and OS information library
  • resolve-dirResolve a directory that is either local, global or in the user's home directory.
  • matcherSimple wildcard matching
  • react-dropzoneSimple HTML5 drag-drop zone with React.js
  • ignore-by-defaultA list of directories you should ignore by default
  • nanomatchFast, 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)
  • findup-syncFind the first file matching a given pattern in the current directory or the nearest ancestor directory.
  • glob-to-regex.jsTransform GLOB patterns to JavaScript regular expressions for fast file path matching.
  • @jsonjoy.com/fs-coreCore filesystem primitives: Node, Link, File, Superblock
  • @jsonjoy.com/fs-node-builtinsNode.js standard library dependencies for fs-related packages
  • @jsonjoy.com/fs-node-utilsUtility functions for Node.js fs module
  • @jsonjoy.com/fs-snapshotFile system snapshot - serialize and deserialize file system trees to binary or JSON
  • @jsonjoy.com/fs-fsaFile System Access API implementation backed by core filesystem primitives
  • @jsonjoy.com/fs-node-to-fsaAdapter to convert Node.js fs API to File System Access API
  • @jsonjoy.com/fs-nodeIn-memory filesystem with Node.js fs-compatible API
  • @jsonjoy.com/fs-printFile system tree printer - print a file system structure as a tree
  • stubborn-fsStubborn versions of Node's fs functions that try really hard to do their job.
  • globjoinJoin paths and globs.
  • is-directoryReturns true if a filepath exists on the file system and it's directory.
  • detect-fileDetects if a file exists and returns the resolved filepath.
  • expo-file-systemProvides access to the local file system on the device.
  • vinylVirtual file format.
  • unixifyConvert Windows file paths to unix paths.
  • multimatchExtends `minimatch.match()` with support for multiple patterns
  • read-package-upRead the closest package.json file
  • klawFile system walker with Readable stream interface.
  • klaw-syncRecursive, synchronous, and fast file system walker
  • writeWrite 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.
  • ospathOperating system specific paths.
  • saneSane aims to be fast, small, and reliable file system watcher.
  • @openclaw/fs-safeCapability-style filesystem roots for Node.js apps that handle untrusted relative paths.
  • clone-statsSafely clone node's fs.Stats instances without losing their class methods
  • junkFilter out system junk files like .DS_Store and Thumbs.db
  • find-file-upFind a file fast, by starting at the given cwd and recursing up one directory until the file is found or we run out of directories.
  • @cnakazawa/watchUtilities for watching file trees.