Package category
Files and file systems
Read, write, watch, glob and upload files.
629 packages5 comparisons
Packages compared
629 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| @mrmlnc/readdir-enhanced fs.readdir with sync, async, and streaming APIs + filtering, recursion, absolute paths, etc. | 3m | -3% | - | 8 years ago 2.2.1 | CommonJS | Bundled | Files and file systems, Promises and async control flow | |
| expand-range Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch. | 2.9m | -16% | - | 7 years ago 2.0.2 | CommonJS | None | Files and file systems, Node.js utilities | |
| vinyl-fs Vinyl adapter for the file system. | 2.7m | +7% | - | 1 year ago 4.0.2 | CommonJS | None | Files and file systems | |
| glob-stream Readable streamx interface over anymatch. | 2.6m | +6% | - | 1 year ago 8.0.3 | CommonJS | None | Files and file systems | |
| glob-base Returns an object with the (non-glob) base path and the actual pattern. | 2.6m | -21% | - | 11 years ago 0.3.0 | CommonJS | None | Files and file systems | |
| is-dotfile Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory. | 2.4m | -15% | - | 9 years ago 2.0.0 | CommonJS | None | Files and file systems | |
| parse-glob Parse a glob pattern into an object of tokens. | 2.4m | -21% | - | 11 years ago 3.0.4 | CommonJS | None | Files and file systems | |
| fs-exists-sync Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info. | 2.4m | -2% | - | 10 years ago 0.1.0 | CommonJS | None | Files and file systems | |
| globule An easy-to-use wildcard globbing library. | 2.4m | -19% | - | 4 years ago 1.3.4 | CommonJS | None | Files and file systems | |
| gaze A globbing fs.watch wrapper built from the best parts of other fine watch libs. | 2.3m | -15% | - | 8 years ago 1.1.3 | CommonJS | None | Files and file systems | |
| unionfs Use multiple `fs` modules in a union. | 2.3m | +422% | - | 1 year ago 4.6.0 | CommonJS | Bundled | Files and file systems | |
| home-or-tmp Get the user home directory with fallback to the system temp directory | 2.3m | -16% | - | 5 years ago 4.0.0 | ESM only | None | Files and file systems | |
| mylas Mylas is a npm package to make the loading and storing of data from fs easy and reliable. | 2.2m | +122% | - | 10 months ago 2.1.14 | CommonJS | Bundled | Files and file systems, Parsers and serialisers | |
| is-valid-glob Return true if a value is a valid glob pattern or patterns. | 2.2m | +2% | - | 9 years ago 1.0.0 | CommonJS | None | Files and file systems | |
| resolve-global Resolve the path of a globally installed module | 2.2m | +12% | - | 2 years ago 2.0.0 | ESM only | Bundled | Files and file systems | |
| is-negated-glob Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs. | 2.1m | -4% | - | 10 years ago 1.0.0 | CommonJS | None | Files and file systems | |
| fs-mkdirp-stream Ensure directories exist before writing to them. | 2.1m | -5% | - | 4 years ago 2.0.1 | CommonJS | None | Files and file systems | |
| cwd Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util) | 1.9m | +14% | - | 10 years ago 0.10.0 | CommonJS | None | Files and file systems, Node.js utilities | |
| is-invalid-path Returns true if a windows file path has invalid characters. | 1.8m | -3% | - | 8 years ago 1.0.2 | CommonJS | None | Files and file systems | |
| glob-slasher Prefix an object (key/values) of globs with a slash and normalize. Supports negated globs too. Glob version of slasher module | 1.8m | +184% | - | 11 years ago 1.0.1 | CommonJS | None | Files and file systems | |
| toxic Mutate keys and values in objects. Returns a new version of the object | 1.8m | +181% | - | 8 years ago 1.0.1 | CommonJS | None | Files and file systems | |
| file-system-cache A super-fast, promise-based cache that reads and writes to the file-system. | 1.5m | -39% | - | 2 years ago 3.0.0-alpha.8 | - | - | Files and file systems | |
| glob-watcher Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing. | 1.5m | +5% | - | 3 years ago 6.0.0 | - | - | Files and file systems | |
| to-absolute-glob Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled. | 1.5m | -3% | - | 3 years ago 3.0.0 | - | - | Files and file systems | |
| wildcard-match A tiny and extremely fast library for compiling and matching basic glob patterns | 1.4m | +68% | - | 1 year ago 5.1.4 | ESM + CommonJS | Bundled | Files and file systems | |
| babel-extract-comments Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file. | 1.4m | -9% | - | 8 years ago 1.0.0 | - | - | Files and file systems | |
| glob-promise Promise version of glob | 1.2m | -27% | - | 2 years ago 6.0.7 | CommonJS | Bundled | Files and file systems | |
| replace-in-file A simple utility to quickly replace text in one or more files. | 1.2m | -11% | - | 1 month ago 9.0.0 | ESM only | Bundled | Files and file systems, CLI tools and terminal utilities | |
| mock-fs A configurable mock file system. You know, for testing. | 1.2m | +17% | - | 1 year ago 5.5.0 | CommonJS | None | Files and file systems | |
| fs This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it. | 1.1m | -30% | - | 10 years ago 0.0.1-security | CommonJS | None | Files and file systems | |
| is-valid-path Returns true if a file path does not contain any invalid characters. | 1.1m | -13% | - | 11 years ago 0.1.1 | CommonJS | None | Files and file systems, Testing | |
| cspell-gitignore Gitignore Glob matcher for cspell | 1m | +44% | - | today 10.3.4 | ESM only | Bundled | Files and file systems | |
| @hapi/subtext HTTP payload parsing | 993.5k | - | - | - | 4 months ago 8.1.3 | CommonJS | None | Files and file systems |
| watch Utilities for watching file trees. | 925k | -18% | - | 9 years ago 1.0.2 | CommonJS | None | Files and file systems | |
| stream-length For a given Buffer or Stream, this module will attempt to determine the total length of the stream contents. It currently supports Buffers, `fs` streams, `http` responses, and `request` objects, and allows for specifying custom stream types. | 913.3k | -16% | - | 11 years ago 1.0.2 | CommonJS | None | Files and file systems | |
| fsu Unique file name with streams support | 912.2k | -23% | - | 6 years ago 2.0.2 | CommonJS | None | Files and file systems | |
| i18next-fs-backend i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem. | 902.4k | +8% | - | 17 days ago 2.6.8 | ESM + CommonJS | Bundled | Files and file systems | |
| to-vfile vfile utility to read and write to the file system | 901.5k | +84% | - | 3 years ago 8.0.0 | ESM only | Bundled | Files and file systems | |
| @gulpjs/to-absolute-glob Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled. | 883k | - | - | - | 3 years ago 4.0.0 | CommonJS | None | Files and file systems |
| picomatch-browser (temporary fork of picomatch) Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. | 836k | +143% | - | 4 years ago 2.2.6 | CommonJS | None | Files and file systems | |
| temp-write Write data to a random temporary file | 775.8k | +28% | - | 7 months ago 6.0.1 | ESM only | Bundled | Files and file systems | |
| rollup-plugin-copy Copy files and folders using Rollup | 773.2k | -0% | - | 3 years ago 3.5.0 | ESM + CommonJS | Bundled | Files and file systems, Bundler plugins and loaders | |
| multiparty multipart/form-data parser which supports streaming | 733.1k | +48% | - | 14 days ago 4.3.1 | - | None | Files and file systems, Node.js utilities | |
| git-config-path Resolve the path to the user's local or global .gitconfig. | 697.7k | -20% | - | 7 years ago 2.0.0 | CommonJS | None | Configuration, Files and file systems | |
| output-file-sync Synchronously write a file and create its ancestor directories if needed | 689.6k | -26% | - | 8 years ago 2.0.1 | - | None | Files and file systems | |
| node-watch A wrapper and enhancements for fs.watch | 682.6k | +4% | - | 3 years ago 0.7.4 | CommonJS | Bundled | Files and file systems | |
| browser-fs-access File System Access API with legacy fallback in the browser. | 655.3k | +608% | - | 1 year ago 0.38.0 | ESM + CommonJS | Bundled | Files and file systems | |
| cypress-file-upload A Cypress command for file upload | 643.3k | -25% | - | 5 years ago 5.0.8 | CommonJS | Bundled | Testing, Files and file systems | |
| chokidar-cli Ultra-fast cross-platform command line utility to watch file system changes. | 624.9k | +56% | - | 5 years ago 3.0.0 | - | None | Files and file systems, CLI tools and terminal utilities | |
| fs-capacitor Filesystem-buffered, passthrough stream that buffers indefinitely rather than propagate backpressure from downstream consumers. | 623.7k | +20% | - | 4 years ago 8.0.0 | ESM only | Bundled | Files 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.
- @mrmlnc/readdir-enhancedfs.readdir with sync, async, and streaming APIs + filtering, recursion, absolute paths, etc.
- expand-rangeFast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.
- vinyl-fsVinyl adapter for the file system.
- glob-streamReadable streamx interface over anymatch.
- glob-baseReturns an object with the (non-glob) base path and the actual pattern.
- is-dotfileReturn true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
- parse-globParse a glob pattern into an object of tokens.
- fs-exists-syncDrop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
- globuleAn easy-to-use wildcard globbing library.
- gazeA globbing fs.watch wrapper built from the best parts of other fine watch libs.
- unionfsUse multiple `fs` modules in a union.
- home-or-tmpGet the user home directory with fallback to the system temp directory
- mylasMylas is a npm package to make the loading and storing of data from fs easy and reliable.
- is-valid-globReturn true if a value is a valid glob pattern or patterns.
- resolve-globalResolve the path of a globally installed module
- is-negated-globReturns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
- fs-mkdirp-streamEnsure directories exist before writing to them.
- cwdEasily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)
- is-invalid-pathReturns true if a windows file path has invalid characters.
- glob-slasherPrefix an object (key/values) of globs with a slash and normalize. Supports negated globs too. Glob version of slasher module
- toxicMutate keys and values in objects. Returns a new version of the object
- file-system-cacheA super-fast, promise-based cache that reads and writes to the file-system.
- glob-watcherWatch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.
- to-absolute-globMake a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
- wildcard-matchA tiny and extremely fast library for compiling and matching basic glob patterns
- babel-extract-commentsUses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
- glob-promisePromise version of glob
- replace-in-fileA simple utility to quickly replace text in one or more files.
- mock-fsA configurable mock file system. You know, for testing.
- fsThis package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.
- is-valid-pathReturns true if a file path does not contain any invalid characters.
- cspell-gitignoreGitignore Glob matcher for cspell
- @hapi/subtextHTTP payload parsing
- watchUtilities for watching file trees.
- stream-lengthFor a given Buffer or Stream, this module will attempt to determine the total length of the stream contents. It currently supports Buffers, `fs` streams, `http` responses, and `request` objects, and allows for specifying custom stream types.
- fsuUnique file name with streams support
- i18next-fs-backendi18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem.
- to-vfilevfile utility to read and write to the file system
- @gulpjs/to-absolute-globMake a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
- picomatch-browser(temporary fork of picomatch) Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
- temp-writeWrite data to a random temporary file
- rollup-plugin-copyCopy files and folders using Rollup
- multipartymultipart/form-data parser which supports streaming
- git-config-pathResolve the path to the user's local or global .gitconfig.
- output-file-syncSynchronously write a file and create its ancestor directories if needed
- node-watchA wrapper and enhancements for fs.watch
- browser-fs-accessFile System Access API with legacy fallback in the browser.
- cypress-file-uploadA Cypress command for file upload
- chokidar-cliUltra-fast cross-platform command line utility to watch file system changes.
- fs-capacitorFilesystem-buffered, passthrough stream that buffers indefinitely rather than propagate backpressure from downstream consumers.