b2-cloud-storage v1.1.2 is a Node.js client for Backblaze B2 Cloud Storage API, actively maintained by Nodecraft. It wraps all current B2 API operations, providing helper methods for uploading files of all sizes, including large file chunking and automatic retries. Released under MIT license, it adheres to Backblaze integration guidelines. As of 2025, it requires Node >=20 and npm >=10. Distinguishes itself by handling large file uploads seamlessly, with progress callbacks and error handling built-in, unlike simpler HTTP clients.
npm install b2-cloud-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to authorize and upload a file with progress tracking using callback style.
Upgrade Node.js to v20 or higher.
Always use 'new b2CloudStorage(...)'.
Wrap calls in Promises manually if needed, e.g., new Promise((resolve, reject) => b2.authorize(err => err ? reject(err) : resolve())).
Use 'new b2CloudStorage(...)'
Provide a valid bucketId in the options object.
No dependency data recorded yet.