Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tcd/cloudflare-images

A wrapper around the Cloudflare Images API for Node.js
https://github.com/tcd/cloudflare-images

api cloudflare

Last synced: 5 days ago
JSON representation

A wrapper around the Cloudflare Images API for Node.js

Awesome Lists containing this project

README

        

# cloudflare-images

[![npm](https://img.shields.io/npm/v/cloudflare-images)](https://www.npmjs.com/package/cloudflare-images)
[![GitHub issues](https://img.shields.io/github/issues/tcd/cloudflare-images)](https://github.com/tcd/cloudflare-images/issues)
[![GitHub](https://img.shields.io/github/license/tcd/cloudflare-images)](https://github.com/tcd/cloudflare-images/blob/master/LICENSE.md)

## About

A wrapper around the [Cloudflare Images API][images-docs].

## **NOTE**

- This won't work directly in browsers because the API doesn't support CORS. [\[1\]][1]
- Works very well in Node.js though 🙃

[images-docs]: https://developers.cloudflare.com/images/
[images-api-docs]: https://api.cloudflare.com/#cloudflare-images-properties
[image-variants-api-docs]: https://api.cloudflare.com/#cloudflare-images-variants-properties

[1]: https://community.cloudflare.com/t/cors-is-still-getting-error/326897/9
[2]: https://community.cloudflare.com/t/cors-error-when-using-direct-creator-upload/306805/14
[3]: https://community.cloudflare.com/t/cloudflare-images-cors-error/400752/6
[4]: https://community.cloudflare.com/t/cloudflare-images-direct-upload-cors-problem/368114/5