API Reference

MinIO JavaScript Client

Official MinIO client for Node.js, providing S3-compatible object storage operations.

Official Documentation ↗
CompatibilityThis documentation covers version v8. Check the official docs for the latest API surface.

Installation

npmnpm install minio

Methods

The MinIO client uploads and downloads objects to any S3-compatible endpoint with streaming support.

Key Features

  • S3-compatible object operations
  • Streaming upload and download
  • Presigned URLs for direct access

Usage Notes

Pin a version and check the official docs for the API surface you depend on before upgrading.

API reference evidence

Fetched from official sources on 2026-11-08T20:10:00+08:00 via WebFetch https://raw.githubusercontent.com/minio/minio-js/master/docs/API.md;WebFetch https://raw.githubusercontent.com/minio/minio-js/master/src/internal/client.ts;WebFetch https://minio.github.io/minio-js/classes/Client.html(404).

FAQ

Is it only for MinIO servers?
No. It works against any S3-compatible endpoint, including MinIO, AWS S3, and many object storage products.
How do I upload a large file?
Pass a Readable stream from the filesystem so the client streams chunks instead of buffering the whole file in memory.
How do presigned URLs secure access?
They embed a signature and expiry bound to the bucket and object, so recipients can download without credentials until the URL expires.