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

https://github.com/nucliweb/responsive-images-squoosh

Generate responsive images and next-gen image formats with squoosh-cli
https://github.com/nucliweb/responsive-images-squoosh

cli images optimization performance responsive-images webperf

Last synced: 2 months ago
JSON representation

Generate responsive images and next-gen image formats with squoosh-cli

Awesome Lists containing this project

README

          

# responsive-images-squoosh

Generate responsive images and next-gen image formats with [`squoosh-cli`](https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli)

## Install

> You need [Node.js](https://nodejs.org/) in your system to use this project.

Run the next command to install dependencies, you can use `npm` (used in the example) or `yarn`.

```bash
npm install
```

## Usage

The `npm run compress` command gets all images in the `originals` folder and generate optimized and responsive images into the folder `images` following the FORMATS defined in the [config file](src/config.js).

## Photos and credits



Photos

Photos by