bunnycdndeprecated

A simple Node libary that intergrates wiht bunnycdn api.

Usage no npm install needed!

<script type="module">
  import bunnycdn from 'https://cdn.skypack.dev/bunnycdn';
</script>

README

bunny-cdn-python

Bunny CDN is the fastest and Cheapest CDN

This is a bunny cdn node.js module for buny cdn API

How to install

npm install bunnycdn

How to Use IT

These are the all avalaible commands


1.create_pull_zone(api, name, original_url, type)
2.delete_pull_zone(api, id)
3.purge_cache(api, id)
4.add_host_name(api, id, Hostname)
5.get_free_ssl(api, Hostname)
6.billing_info(api, Hostname)
7.add_newblocked_ip(api, pullzoneid, ip)
8.remove_blocked_ip(api, pullzoneid, ip)

Example

let bunnycdn = require('bunycdn');

bunnycdn..delete_pull_zone('Here goes your own parameters')

INFO

  1. This is not a official bunny cdn module
  2. ssl must be an Boolean value
  3. api and ID must be an Integer
  4. ip must be an string