JavaScript Filesystem

Open-source JavaScript projects categorized as Filesystem

Top 23 JavaScript Filesystem Projects

  • chokidar

    Minimal and efficient cross-platform file watching library

    Project mention: How nodemon works? | /r/node | 2023-08-19

    The watching magic is really in the library

  • fs-extra

    Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

    Project mention: What are some of the best libraries you cannot work without? | /r/node | 2023-06-08

    I haven't seen fs-extra mentioned yet. For my work it involves a fair bit of reading/writing to the filesystem, so this makes it quite nice to deal with everything in an async way.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • copy-webpack-plugin

    Copy files and directories with webpack

  • globby

    User-friendly glob matching

    Project mention: Add Spellchecker to Your Node.js Project | | 2022-12-22

    Files to be scanned/excluded are defined via globby which is based on node-glob

  • fast-glob

    :rocket: It's a very fast and efficient glob library for Node.js

    Project mention: HyperUI Rewritten... What's Changed? | | 2022-10-04

    Added the fast-glob package to slim down the tailwind.config.js

  • cloudcmd

    ✨☁️📁✨ Cloud Commander file manager for the web with console and editor.

    Project mention: What's your web browser based access to file system? | /r/selfhosted | 2023-06-20

    I assume it is this one:

  • del

    Delete files and directories

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • graceful-fs

    fs with incremental backoff on EMFILE

    Project mention: My fist codestory. A day in my life, as a coder :) | | 2022-11-19

    async (config?: { /** * Overwrite the default ignored behavior */ customIgnored?: string[]; }) => { const projectRoot = getProjectRoot(); if (!projectRoot) return; // NB: fix to globally alter real fs in order to fix EMFile error that happens in TSMorph (see gracefulFs.gracefulify(realFs); console.log("Searching..."); const tsFunctions = await db.get("TsFunction"); const projectWatcherTsFunctions = tsFunctions.filter( (x) => x.explicitTypeName === "ProjectWatcher" ); const projectWatchers = projectWatcherTsFunctions .map((x) => .map((name) => sdk[name as keyof typeof sdk] as ProjectWatcher | undefined) .filter(notEmpty); log(`${projectWatchers.length} watchers gonna watch ${projectRoot}`, { type: "important", }); const startupWaitMs = 1000; setTimeout(() => { log( `There they are! \n\n${projectWatchers .map((projectWatcher) => { return `👁 👁 ${} ✅`; }) .join("\n")}`, { type: "success", } ); }, startupWaitMs); const startTimeAt =; watch(projectRoot, { ignoreInitial: true, ignored: config?.customIgnored || [ "**/node_modules/**", "**/.next/**", "**/.expo/**", "**/build/**", "**/db/**", "**/.git/**", "**/.turbo/**", "**/generated/**", ], // alwaysStat: true, // not sure why I would need this, seems inefficient if I don't need it, I can simply run fs.stat }).on("all", (eventName, path, stats) => { if ( < startTimeAt + startupWaitMs) return; const relevantWatchers = projectWatchers.filter((watcher) => watcher.filter(eventName, path) ); oneByOne(relevantWatchers, async (projectWatcher) => { await projectWatcher(eventName, path); }); }); };

  • filer

    Node-like file system for browsers (by filerjs)

  • find-up

    Find a file or directory by walking up parent directories

  • wayne

    Service Worker Routing library for in browser HTTP requests

    Project mention: Created a Server-Sent Event Proxy with Wayne | /r/webdev | 2023-07-01

    Just created a Server-Sent Events Proxy with my Open Source library Wayne. This was the last open issue on GitHub.

  • make-dir

    Make a directory and its parents if needed - Think `mkdir -p`

  • filenamify

    Convert a string to a valid safe filename

  • tempy

    Get a random temporary file or directory path

  • load-json-file

    Read and parse a JSON file

  • pkg-dir

    Find the root directory of a Node.js project or npm package

  • proper-lockfile

    An inter-process and inter-machine lockfile utility that works on a local or network file system.

  • Filehound

    Flexible and fluent interface for searching the file system

  • write-json-file

    Stringify and write JSON to a file atomically

  • move-file

    Move a file - Even works across devices

  • draxt

    draxt.js – NodeList/jQuery-like package for File System (node.js)

  • canvas-record

    Record a video in the browser or directly on the File System from a canvas (2D/WebGL/WebGPU) as MP4, WebM, MKV, GIF, PNG/JPG Sequence using WebCodecs and Wasm when available.

    Project mention: Recordable Canvas Web Component | | 2023-06-01

    When I was browsing NPM for similar projects I do see that this one looks wayyyyy better! It's not a Web Component, but it's similar in what it does. Canvas-record seems to offer several different ways to encode your recordings including a WASM one which should be super speedy!

  • sander

    Promise-based power tool for common filesystem tasks (by Rich-Harris)

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-19.

JavaScript Filesystem related posts


What are some of the best open-source Filesystem projects in JavaScript? This list will help you:

Project Stars
1 chokidar 10,173
2 fs-extra 9,172
3 copy-webpack-plugin 2,803
4 globby 2,377
5 fast-glob 2,214
6 cloudcmd 1,700
7 del 1,304
8 graceful-fs 1,234
9 filer 584
10 find-up 548
11 wayne 515
12 make-dir 473
13 filenamify 460
14 tempy 399
15 load-json-file 234
16 pkg-dir 224
17 proper-lockfile 219
18 Filehound 219
19 write-json-file 208
20 move-file 198
21 draxt 189
22 canvas-record 160
23 sander 119
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at