removebg-wrapper

1.0.3 • Public • Published

removebg-wrapper

----

This is a simple wrapper for easy use of remove.bg api to remove background of an image.

Make sure you look at the website of remove-bg for more info on API key and docs.

Installation

``` $ npm install removebg-wrapper ```

Examples

// Provide file path to  the remove the background of the image
const pckg = require("removebg-wrapper");
pckg.rbFromImageFile("YOUR IMAGE PATH", "YOUR REMOVE.BG API KEY");

Output:-

// Provide image url to  the remove the background of the image
const pckg = require("removebg-wrapper");
pckg.rbFromImageUrl("YOUR IMAGE URL", " YOUR REMOVE.BG API KEY");

*Thank you for installing!

#

Readme

Keywords

Package Sidebar

Install

npm i removebg-wrapper

Weekly Downloads

88

Version

1.0.3

License

MIT

Unpacked Size

172 kB

Total Files

7

Last publish

Collaborators

  • rubayz