Warning
This set of package is still in development, not meant to be used at the time being.
micro-image
This project is a multi-package with 2 main components:
- A self-hosted image proxy, meant to cache and compress images
- An image component (currently for React), that uses an image proxy to render the correctly
Future plans
- Supporting (already partly implemented) multiple image proxy providers, like ipx (already supported), imgproxy, cloudinary.
- Providing components for various front-end frameworks.
- Providing the image proxy as a service
Usage
Coming soon :)
Apps and Packages
cache
: image proxy powered by Fastifydocs
: A placeholder documentation site powered by Next.js@micro-image/image
: React image component@micro-image/utils
: shared React utilities@micro-image/tsconfig
: sharedtsconfig.json
s used throughout the monorepoeslint-config-micro-image
: ESLint preset
Each package and app is 100% TypeScript.
Useful commands
yarn build
- Build all packages, the image proxy and docs siteyarn dev
- Develop all packages, the image proxy and the docs siteyarn lint
- Lint all packagesyarn changeset
- Generate a changesetyarn clean
- Clean up allnode_modules
anddist
folders (runs each package's clean script)