0.1.1 • Published 3 years ago

@goodboydigital/basis-bin v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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