The official TypeScript SDK provides a type-safe way to interact with Bunny Storage in Node.js, Deno, and Bunny Edge Scripts environments.
Installation
Quickstart
Connect to your storage zone
Available regions:
List files
Upload a file
Download a file
Method 1: Direct download
Method 2: Get metadata first
File metadata properties:
Guid - Unique identifier
ObjectName - File name
Path - Directory path
Length - File size in bytes
ContentType - MIME type
DateCreated - Creation date
LastChanged - Last modification date
IsDirectory - Whether it’s a directory
Checksum - File checksum
ReplicatedZones - Replication regions
Delete files
Examples
Node.js HTTP server
Deno
Bunny Edge Scripts
Upload from file system (Node.js)
Download to file system (Node.js)
Resources
Last modified on July 20, 2026