Skip to main content

Apache OpenDAL™ Node.js Binding

A native Node.js binding for OpenDAL with one API for S3, GCS, Azure Blob, the local filesystem, and other storage services.

New to the model behind the API? Read Concepts first — the shared storage semantics and path and operation concepts every binding expresses through its own native API.

note

This binding has its own version number, independent of the Rust core. Check compatibility against the binding's version, not the core's.

Status​

Released and stable, published to npm.

Capabilities​

  • Promise-based async API — every operation returns a Promise; await it.
  • Synchronous variants — each verb has a *Sync form (readSync, writeSync, …) for blocking code.
  • Streaming reads and writes via Node Readable/Writable streams for data that does not fit in memory.
  • Services — the included services depend on the platform of the npm native package.
  • Composable layers for retry, timeout, logging, throttle, and concurrency limits — see Going to production.
  • Presigned URLs for services that support them (S3, GCS, Azblob, …).

Installation​

npm install opendal

Next steps​

  1. Getting started — a runnable program, then a real backend.
  2. Connecting to your storage — build an operator for any service.
  3. Common tasks — read, write, stream, list, copy, and presign.
  4. Going to production — retry, timeouts, errors, observability.