NPM script is needed to massive image size reduction
Here is an example of the lib and the finished algorithm: https://ahmadawais.com/resize-optimize-images-javascript-node/
I have to make it work for me.
I expect to run two teams on Linux:
$ npm install --save
$ npm run start
and as a result the script will find in the current directory (recursively, including in the submap) all jpg, jpeg and png files, in which the width or height is more than 1200 and will reduce them to 1200 with preserving the ratio will resize.
The original filename.jpg file is deleted or renamed to filename.jpg.bak. It is desirable that there is some config-file to indicate these settings.
thank you.
Client's review of cooperation with Denis Yermilov
NPM script is needed to massive image size reductionEverything is good. Denis carried out the project on my TZ, answered all the questions and with the start of the script with me on the site. I recommend it.
![]()
Freelancer's review of cooperation with client
NPM script is needed to massive image size reductionA regular customer with a clear TZ and understanding of the task. Very pleasant to collaborate)
-
Winning proposal1 day13 USD
191 6 0 1 Winning proposal1 day13 USDI can do it quickly. Everything will be as you describe, with the configuration file and/or the start parameters (if desired, it will not affect the cost)
Current freelance projects in the category Javascript and Typescript
Need a frontend developer / layout designer for a one-time improvement of a website on Magento 2.
285 USD
Website for evaluation: https://copy.eurobrands-shop.de/ Task: fix frontend bugs at the Magento 2 / Amasty theme level: CSS/LESS/JS, mobile, RTL, minicart, language dropdown, layout shift/CLS. Work format: - without local Magento deployment; - work through DevTools + theme… HTML & CSS, Javascript and Typescript ∙ 24 minutes back ∙ 7 proposals |
Game Developer Pixi.Js
350 USD
We are looking for a Pixi.js developer to create a series of 12 mini-games. The projects are simple to implement, and with confident work, developing one game takes no more than a week. It is necessary to implement the frontend and game mathematics, without backend development.… Javascript and Typescript, Web Programming ∙ 2 hours 51 minutes back ∙ 24 proposals |
Optimization of Core Web Vitals (OpenCart) for Google PageSpeed — Mobile and PC versionsOrder description: We are looking for an experienced frontend developer/OpenCart specialist to optimize the loading speed of the website (categories and product cards) according to Google Core Web Vitals requirements. About the project: * CMS: OpenCart. * Specifics: The site… Content Management Systems, Javascript and Typescript ∙ 3 days 23 hours back ∙ 23 proposals |
Optimization of WordPress site speed
114 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 4 days 19 hours back ∙ 68 proposals |
Looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition.There is a working, well-designed project on Odoo 19 Community — CRM for a Ukrainian hotel, already in production-grade infrastructure. We do not plan to rewrite from scratch. We are looking for one person who will take over the project, maintain the working state, and lead it… Javascript and Typescript, Web Programming ∙ 6 days 20 hours back ∙ 4 proposals |