JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5756
  • Score
    100M100P100Q117367F
  • License ISC

Front End SDK of Alloy Automation

Package Exports

  • alloy-frontend
  • alloy-frontend/src/index.js

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 (alloy-frontend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Alloy Automation Front End Library

The Alloy Automation Front End library provides convenient access to the pre-built modal, which allows easy access to use and embedded Alloy Automation's power into a frontend app.

Documentation

See the alloy-frontend API docs.

Requirements

Node 12 or higher.

Installation

Install the package with:

npm install alloy-frontend
# or
yarn add alloy-frontend

Usage

const Alloy = require('alloy-frontend');

const callback = () => { console.log("done") };

const alloy = Alloy();

alloy.setToken(<token>);

alloy.install({ integrationId: 'abc', callback });

Note: could be generated using out node.js backend SDK alloy-node