Skip to content
This repository was archived by the owner on Mar 1, 2021. It is now read-only.
/ image-optimize Public archive

🖼 A simple NodeJS script to help automate resizing images

Notifications You must be signed in to change notification settings

visormatt/image-optimize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Images Optimization

The inspiration for this repo comes from the <picture> element which offers us a bit more flexibility to serve more sensible images based on any valid media query that would normally be defined in a CSS.

Links / Resources:

Usage

Overall this tool is rather simple. Just do your standard npm intall, drop some images into the images folder and run from the CLI. This will create two sub-folders (optimized|resized) containing the newly scaled and optimized images.

# Install
npm i

# Buid the images
npm start

About

🖼 A simple NodeJS script to help automate resizing images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published