Responsive image utilities
Utility functions to make it easier to work with auto generated responsive images for better performance optimised images.
Use this utility lib to generate image srcsets and sizes used for responsive web design using a mobile-first approach.
This project is a lightweight utils version of Responsive Image Breakpoints Generator.
How it works?
Please spend some time to read the following links which I think explains the concept of responsive images pretty well.
npm install -D responsive-image-utils
ES6 Demo - https://codesandbox.io/s/1z15pnyk5j
Add the following script tag to your project
ES5 Demo - https://jsfiddle.net/ikanedo/8h7nz15g/
Start contributing. Contributions are open to all.