1.0.2 • Published 1 year ago

@cropguide/browser v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Official CropGuide SDK for Browsers

npm version

Installation

Install NPM package.

npm i @cropguide/browser --save

Usage

Import the CropGuide module and run it as soon as possible in your app.

Replace ABC123 with your CropGuide key.

Pass debug property as option and set to true to enable debug mode.

See CropGuide configuration options for info on possible configuration options.

import CropGuide from '@cropguide/browser';

CropGuide('ABC123', {
    // CropGuide options
    // ...
})
    .then(() => {
        // CropGuide init fired
    })
    .catch(() => {
        // Something went wrong
    });