@sherl/sdk

Sherl SDK for JavaScript

Usage no npm install needed!

<script type="module">
  import sherlSdk from 'https://cdn.skypack.dev/@sherl/sdk';
</script>

README

@sherl/sdk

Release Version semantic-release

Sherl SDK for JavaScript.

Sherl

Sherl is a low-code platform created by Winzana.

Getting started

Installation

Install as NPM package

npm install @sherl/sdk

Add script in browser

The script is available in the releases section.

<script type="text/javascript" src="sherl-sdk.min.js"></script>

<!-- or through a CDN like jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/@sherl/sdk@latest/_bundles/sherl-sdk.min.js"></script>

Configuration

Before calling any other methods, you need to initialize the SDK by calling init:

// Import with require
const Sherl = require('@sherl/sdk');

// OR import syntax
import * as Sherl from '@sherl/sdk';

// OR `window.sherl` for browsers

Sherl.init({
  apiKey: 'YOUR_API_KEY',
  apiSecret: 'YOUR_API_SECRET',
});

Contributions

See CONTRIBUTING.md