forked from external-repos/squoosh
30445927ead426c489127cca93ce13bca01aad31
Convert `image_data` to typescript as an example
Squoosh!
Squoosh is an image compression web app that allows you to dive into the advanced options provided by various image compressors.
API & CLI
Squoosh now has an API and a CLI that allows you to compress many images at once.
Privacy
Google Analytics is used to record the following:
- Basic visit data.
- Before and after image size once an image is downloaded. These values are rounded to the nearest kilobyte.
- If install is available, when Squoosh is installed, and what method was used to install Squoosh.
Image compression is handled locally; no additional data is sent to the server.
Building locally
Clone the repo, and:
npm install
npm run build
You can run the development server with:
npm run dev
Description
Languages
TypeScript
62.5%
JavaScript
10%
C++
9.5%
CSS
8.9%
Makefile
3.9%
Other
5.2%