New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

libbpg-bin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libbpg-bin

Binary wrapper for libbpg that makes it seamlessly available as a local dependecy

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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 } = require('child_process');
const { bpgenc, bpgdec } = require('libbpg-bin');

exec(`${bpgenc} -o output.bpg input.png`, () => {
  // Yay! BIG input.png had been converted to SMALL output.bpg.
});

exec(`${bpgdec} -o input.png output.bpg`, () => {
  // Owh! BIG input.png come back again.
});

Available prebuilt binary version

OSlibbpg version
MacOS0.9.4
Linuxneed help
Windowsneed 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

Keywords

FAQs

Package last updated on 16 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc