Files
30-seconds-of-code/node_modules/cwebp-bin/cli.js
2019-08-20 15:52:05 +02:00

8 lines
193 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
const {spawn} = require('child_process');
const binPath = require('.');
spawn(binPath, process.argv.slice(2), {stdio: 'inherit'})
.on('exit', process.exit);