Image compression npm plugins?

Is there any good plugin or utility which can compress an unlimited number of images by entering one or more commands in the console? I now use the resource tinypng.com but more than 5MB file takes and to not more than 20 at a time taking it all slow, especially when hundreds of images, and the friend said that this online pictures compresses fine but the meta information does not clean the file, don't know true or not, but not when one has a lot of files to use these resources.

There is something better and in the console?
August 19th 19 at 23:11
5 answers
August 19th 19 at 23:13
Solution
thank you) - micah27 commented on August 19th 19 at 23:16
August 19th 19 at 23:15
Solution
August 19th 19 at 23:17
Solution
The convert utility from imagemagic + bash scripts
Well, or gulp as advised to me, although I do not like him for tormoznuli and gluttony
August 19th 19 at 23:19
webpack
and? any plugin for it? - micah27 commented on August 19th 19 at 23:22
August 19th 19 at 23:21
If using webpack, then perhaps this plugin imagemin-webpack-plugin

Find more questions by tags image processingNode.jsnpmOptimization of images