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.
Installation
$ npm install removebg-wrapperExamples
// Provide file path to the remove the background of the image
const pckg = require("removebg-wrapper");
pckg.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!