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: 10 months 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 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T20:54:31.000Z (about 3 years ago)
- Last Synced: 2025-03-30T22:11:46.834Z (11 months 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
[](https://www.npmjs.com/package/cloudflare-images)
[](https://github.com/tcd/cloudflare-images/issues)
[](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