Socket
Socket
Sign inDemoInstall

lwip-promise

Package Overview
Dependencies
21
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lwip-promise

Promisified lwip library


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

lwip Promise

Promisified lwip library. Thanks @raine. This repo inspired by https://github.com/EyalAr/lwip/issues/63.

Installation

npm install lwip-promise

Usage

var lwip = require('lwip-promise');

lwip.openAsync('image.jpg')
  .then(function(image) {
    return image.batch()
      .rotate(45, 'white')
      .scale(0.5)
      .blur(5)
      .writeFileAsync('output.jpg');
  }).catch(function(err) {
    console.error(err.message);
  });

License

MIT

Keywords

FAQs

Last updated on 14 Apr 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc