Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
bunny-client
Advanced tools
bunny-client
The TypeScript API Client for BunnyCDN 🐰[!IMPORTANT]
Please usebunny-sdk-typescript
instead. This repository is now in maintenance mode.
Provide an unofficial TypeScript API Client for BunnyCDN with few dependencies.
Install via npm:
npm install bunny-client
fetch
APISupports Node.js 18+ and evergreen browsers
Get your API Key from your account settings
API Key example:
cb1a7c68-89a0-462a-9495-13ebd7366cfe
Each client matches with a menu item in the Bunny CDN docs
apiKey
The main differences between the API and the TypeScript Client are:
camelCase
inputs and outputs to match TypeScript style guidestsdoc
examples for all inputs and outputsAccessKey
with apiKey
and storageZonePassword
const storageZoneClient = createStorageZoneClient({
apiKey: API_ACCESS_KEY,
});
const response = await storageZoneClient("addStorageZone", {
Name: "api-example",
Region: "NY",
ZoneTier: 1,
});
bunny-client by John L. Armstrong IV is licensed under Attribution-NonCommercial-ShareAlike 4.0 International
Alternative licenses available by request.
PRs welcome! All contributors must sign the CLA Agreement so that the project license can be changed to MIT when sponsored. Thank you for your contributions.
FAQs
TypeScript API Client for BunnyCDN 🐰
We found that bunny-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.