Javascript SDK

@waylay/client is a javascript client software library that lets you call the REST apis of many Waylay Services as simple asynchronous function calls.

It is the recommended way to integrate waylay services when writing sensors and actuators.

Detailed API documentation can be found at this documentation site


Note that, when writing sensors and actuators, the Waylay Platform provides a waylay global variable with a preconfigured Waylay client object, using a recent version of the package.

For other usages, it is available as npm package @waylay/client, and can be installed with packaging tools such as npm or yarn.

yarn add @waylay/client
npm install --save @waylay/client