node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

node-advpng

advpng Node wrapper

node-advpng

advpng的node包装

npm install node-advpng

var execFile = require('child_process').execFile;
var advpng = require('node-advpng').path;
 
execFile(advpng, ['--version'], function(err, stdout, stderr) {
    console.log('advpng version:', stdout.match(/\d\.\d*/)[0]);
});