biofriction-wp-theme/node_modules/optipng-bin/cli.js

10 lines
215 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
#!/usr/bin/env node
'use strict';
const {spawn} = require('child_process');
const optipng = require('.');
const input = process.argv.slice(2);
spawn(optipng, input, {stdio: 'inherit'})
.on('exit', process.exit);