Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tcd/cloudflare-images
- Owner: tcd
- License: mit
- Created: 2022-07-02T00:17:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T20:54:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T10:11:16.029Z (about 1 month ago)
- Topics: api, cloudflare
- Language: TypeScript
- Homepage:
- Size: 369 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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