brandbird-integration
v0.1.0
Published
Integrate Brandbird into your web app
Downloads
1
Readme
Installation
With NPM
npm i @brandbird/integration
With yarn
yarn add @brandbird/integration
Usage
Be aware that we restrict the integration of Brandbird by platforms at the moment. Are you interested? Hit us up at [email protected]
import { openBrandBird } from '@brandbird/integration';
async function() {
try {
const blob = await openBrandBird(
{
provider: 'Google', // The name of your platform
src: 'Input image in BASE64 format or a public URL', // Optional
}
);
// do something with the blob, e.g. create an object url to show it in an img tag:
// URL.createObjectURL(blob);
} catch (error) {
// error handling
}
}