libbpg-bin
binary wrapper for libbpg
This wrapper gonna use prebuilt binary if possible and fallback to compile from latest source code from here.
Install
$ npm install --save libbpg-bin
Usage
const exec = ;const bpgenc bpgdec = ; ; ;
Available prebuilt binary version
OS | libbpg version |
---|---|
MacOS | 0.9.4 |
Linux | need help |
Windows | need help |
compile and PR is welcome!
# create binary for the latest version $ npm run binary -- --compile # or create a specific version $ npm run binary -- --compile="0.9.4"
License
MIT