JSPM

removebg-wrapper

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 69
  • Score
    100M100P100Q60643F
  • License MIT

It is an easy way to use the remove bg api for removing background of an image

Package Exports

  • removebg-wrapper

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (removebg-wrapper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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!

#