@cropguide/browser

1.0.2 • Public • Published

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
    });

Readme

Keywords

none

Package Sidebar

Install

npm i @cropguide/browser

Homepage

crop.guide

Weekly Downloads

16

Version

1.0.2

License

MIT

Unpacked Size

11.3 kB

Total Files

8

Last publish

Collaborators

  • cropguide