Installation
ZenFS is published to NPM as @zenfs/core:
npm install @zenfs/coreThat is all you need for the built-in backends. Additional backends are separate packages, installed
alongside @zenfs/core:
npm install @zenfs/dom # OPFS, IndexedDB, localStorage, XMLnpm install @zenfs/archives # .zip, .iso, .tarnpm install @zenfs/cloud # Dropbox, Google Drive, S3npm install @zenfs/linux # Linux emulationBundling
Section titled “Bundling”ZenFS exports a drop-in replacement for Node’s fs module as its default export, so it can be
aliased with the bundler of your choice.
There is also @zenfs/bundle, a pre-built bundle of the core and several backends for
use without a build step for prototyping and testing.
Supporting ZenFS
Section titled “Supporting ZenFS”If you’re using ZenFS, especially for big projects, please consider supporting the project. Thousands of hours have been dedicated to its development. Your financial support would go a long way toward improving ZenFS and its community.
Licensing
Section titled “Licensing”ZenFS is licensed under the LGPL so that users can always be confident they are using an authenicatic version of ZenFS, and to verify as much. This doesn’t prevent you from bundling or distributing ZenFS. See copying.md for more info.