bunnycdn-storage
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "bunnycdn-storage", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "dist/main.js", | ||
"types": "dist/main.d.ts", | ||
"repository": "https://github.com/69/bunnycdn-storage.git", | ||
"license": "GPL-3.0", | ||
"license": "MIT", | ||
"scripts": { | ||
@@ -9,0 +9,0 @@ "build": "tsc" |
@@ -12,6 +12,9 @@ # bunnycdn-storage | ||
const BunnyStorage = require('bunnycdn-storage').default; | ||
const bunnyStorage = new BunnyStorage('API-KEY', 'STORAGE-ZONE-NAME'); // Default primary region: Falkenstein | ||
const bunnyStorage = new BunnyStorage('API-KEY', 'STORAGE-ZONE-NAME', 'ny'); // Primary region: New York | ||
// No region specified, defaults to Falkenstein (storage.bunnycdn.com) | ||
const bunnyStorage = new BunnyStorage('API-KEY', 'STORAGE-ZONE-NAME'); | ||
// Specific region (ny.storage.bunnycdn.com) | ||
const bunnyStorageRegion = new BunnyStorage('API-KEY', 'STORAGE-ZONE-NAME', 'ny'); | ||
// list all files in zone / path | ||
@@ -18,0 +21,0 @@ const files = await bunnyStorage.list(); |
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
0
100
37
9295