A simple client to perform actions on the Cloudflare Images API.
The package can installed via npm
npm install @bitpatty/cloudflare-images-api
-
Generate an API Token with the
Account.Cloudflare Images
permission. -
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');
- Use the client (see API docs at https://bitpatty.github.io/cloudflare-images-api)