Cookbook Community Meetup - 12pm ET / 5pm GMT every week on Wednesdays

Language
Docs

Documentation

Contributors: Ropats
Last Updated:

Execution Machine SDK

The JavaScript SDK enables the usage of Execution Machine (EXM) in JavaScript and TypeScript applications. To use the SDK the following setup steps are needed.

Install

To install EXM in your project you can use npm or yarn.

npm install @execution-machine/sdk
yarn add @execution-machine/sdk

Import

When using EXM with your project the package must be imported as follows.

import { Exm } from '@execution-machine/sdk';

Creating an instance

To interact with EXM after installation and importing, an instance must be created.

const exmInstance = new Exm({ token: 'MY_EXM_TOKEN' });

Summary

The following guides will show how to deploy serverless functions using the EXM JS SDK, and how to interact with them.