Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 456 Bytes

readme.md

File metadata and controls

22 lines (15 loc) · 456 Bytes

Node.js Package

pingo — fast web image optimizer by Cédric Louvrier

currently only supports Windows, Linux

Install

$ npm install -save pingo-bin

Usage

const {execFile} = require('child_process');
const pingo = require('pingo-bin');

execFile(pingo, ['input.png'], (err) => {
    console.log('Image minified!');
});