https://github.com/ptondereau/react-cloudflare-image-resize
[WIP] React wrapper component for https://developers.cloudflare.com/images/
https://github.com/ptondereau/react-cloudflare-image-resize
Last synced: 2 months ago
JSON representation
[WIP] React wrapper component for https://developers.cloudflare.com/images/
- Host: GitHub
- URL: https://github.com/ptondereau/react-cloudflare-image-resize
- Owner: ptondereau
- License: mit
- Created: 2019-12-04T21:48:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T19:50:50.000Z (over 3 years ago)
- Last Synced: 2025-02-08T18:12:00.342Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 390 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React component for Cloudflare Image resizing
This is a small wrapper of HTML's `
` element with an extra query for [Cloudflare Image](https://developers.cloudflare.com/images).
It is only useful when your application is behind Cloudflare's network.## TODOs list
- [x] Core component
- [x] Types
- [ ] Tests
- [ ] Documentation
- [ ] Example
- [ ] Publish on NPM## Installation
```bash
yarn add react-cloudflare-image-resize
```## Usage
TODO
## Development
To install all dependencies run:
```bash
npm i
```It will install:
- `dependencies` and `devDependencies` from ./package.json
- `peerDependencies` from ./package.json thanks to `install-peers-cli`
- `dependencies` and `devDependencies` from ./example/package.json (example `create react app` for testing)