manage-storage 0.0.32 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -487,3 +487,9 @@ This library uses the official [@aws-sdk/client-s3](https://docs.aws.amazon.com/
|
|
|
487
487
|
- **[Google GCS](https://cloud.google.com/storage/pricing)**: [GCP workloads](https://cloud.google.com/storage/pricing) (BigQuery, AI, Kubernetes); [multi-region needs](https://onidel.com/blog/cloudflare-r2-vs-backblaze-b2) or tiered classes for cost optimization.
|
|
488
488
|
|
|
489
489
|
Backblaze wins on raw storage cost, R2 on bandwidth-heavy apps, while AWS/GCS suit enterprise ecosystems with richer tools. For exact costs, use [calculators](https://r2-calculator.cloudflare.com) with your workload (e.g., [TB stored](https://www.backblaze.com/cloud-storage/pricing), [TB egress](https://onidel.com/blog/cloudflare-r2-vs-backblaze-b2), [ops volume](https://aws.amazon.com/s3/pricing/)).
|
|
490
|
+
|
|
491
|
+
---
|
|
492
|
+
|
|
493
|
+
[](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
|
|
494
|
+
|
|
495
|
+
Please star this repo for updates! 🌟
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-storage",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"description": "Storage manager supporting AWS S3, Backblaze B2, and Cloudflare R2 with automatic provider detection",
|
|
5
5
|
"main": "./dist/manage-storage.js",
|
|
6
6
|
"module": "./dist/manage-storage.js",
|
|
@@ -33,15 +33,20 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^25.0.3",
|
|
36
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
36
37
|
"terser": "^5.44.1",
|
|
37
38
|
"typescript": "^5.9.3",
|
|
38
39
|
"vite": "^7.3.1",
|
|
39
|
-
"vite-plugin-dts": "^4.5.4"
|
|
40
|
+
"vite-plugin-dts": "^4.5.4",
|
|
41
|
+
"vitest": "^4.1.0"
|
|
40
42
|
},
|
|
41
43
|
"scripts": {
|
|
42
44
|
"build": "vite build",
|
|
43
45
|
"prepublishOnly": "npm run build",
|
|
44
|
-
"ship": "npx standard-version --release-as patch; rm CHANGELOG.md; npm publish"
|
|
46
|
+
"ship": "npx standard-version --release-as patch; rm CHANGELOG.md; npm publish",
|
|
47
|
+
"test": "vitest run",
|
|
48
|
+
"test:watch": "vitest",
|
|
49
|
+
"coverage": "vitest run --coverage"
|
|
45
50
|
},
|
|
46
51
|
"exports": {
|
|
47
52
|
".": {
|