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

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/

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)