UNPKG

upload-to-bunny

Version:

Upload-to-Bunny is a Node.JS library designed to simplify and speed up the process of uploading directories to BunnyCDN storage.

9 lines (7 loc) 214 B
import bunnyUploader from './lib/index.js'; await bunnyUploader('example', '', { storageZoneName: 'test-storage', cleanDestination: true, accessKey: 'xxxxxxxx-xxxx-xxxx-xxxx', maxConcurrentUploads: 10 });