Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

BitPatty/cloudflare-images-api

Repository files navigation

Cloudflare Images API

A simple client to perform actions on the Cloudflare Images API.

Install

The package can installed via npm

npm install @bitpatty/cloudflare-images-api

Usage

  1. Generate an API Token with the Account.Cloudflare Images permission.

  2. Instantiate a new client with your account ID and your API Key

import Client from '@bitpatty/cloudflare-images-api';

const client = new Client('your account id', 'your API key');
  1. Use the client (see API docs at https://bitpatty.github.io/cloudflare-images-api)