![npm imageoptim npm imageoptim](http://galjot.si/talks/front-end-h8%23f00/img/imageOptim.png)
Next we need to create a package.json file for our project.You can check the version of npm by typing npm -v in your terminal.
![npm imageoptim npm imageoptim](https://bestwebsite.gallery/uploads/imager/ogimages/54767/02AZ0jQQhGSzNTVr0Pt_4fab78d902acdd1b11073079acd00d71.jpg)
Once Node.js is installed, you'll have npm installed as well because it comes bundled with Node.It could take a few minutes so +be patient.
#NPM IMAGEOPTIM INSTALL#
#NPM IMAGEOPTIM SOFTWARE#
It is a package manager for JavaScript and "the world's largest software registry".
#NPM IMAGEOPTIM HOW TO#
So today, I’m going to teach you how to use Gulp and an npm package called gulp-imagemin to reduce the size of your images on the fly. Images are great way to help tell stories and emphasize critical parts of our lives.īut if you’re like me you know that having a large image can seriously impact the performance of your site/app. You would be hard pressed to find a single page or application that doesn’t contain at least one image in some form or another. Images are everywhere across the internet.