@goodboydigital/basis-bin
v0.1.1
Published
basis wrapper that makes it seamlessly available as a local dependency
Downloads
228
Maintainers
Readme
basis-bin
basis bin-wrapper that makes it seamlessly available as a local dependency
Usage
const {execFile} = require('child_process');
const basis = require('basis-bin');
execFile(basis, ['input.png', '-output_file', 'output.basis'], err => {
if (err) throw err;
console.log('Image is converted!');
});
CLI
You can install basis
globally.
npm install --global basis-bin
And use it as a CLI command.
basis --help