npm install bin-build> Easily build binaries
```
$ npm install --save bin-build
`js
const binBuild = require('bin-build');
binBuild.url('http://www.lcdf.org/gifsicle/gifsicle-1.80.tar.gz', [
'./configure --disable-gifview --disable-gifdiff',
'make install'
]).then(() => {
console.log('gifsicle built successfully');
});
binBuild.file('gifsicle-1.80.tar.gz', [
'./configure --disable-gifview --disable-gifdiff',
'make install'
]).then(() => {
console.log('gifsicle built successfully');
});
`
#### directory
Type: string
Path to a directory containing the source code.
#### commands
Type: Array
Commands to run when building.
#### file
Type: string
Path to a archive file containing the source code.
#### commands
Type: Array
Commands to run when building.
#### options
Type: Object
##### strip
Type: number1
Default:
Strip a number of leading paths from file names on extraction.
#### url
Type: string
URL to a archive file containing the source code.
#### commands
Type: Array
Commands to run when building.
#### options
Type: Object
##### strip
Type: number1`
Default:
Strip a number of leading paths from file names on extraction.
MIT © Kevin Mårtensson