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



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.


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

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


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


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