@risk3sixty/extension-sdk
v1.0.1
Published
Phalanx automation extension SDK
Downloads
21
Keywords
Readme
Phalanx Automation Extension SDK
A library that can be used in Phalanx automations/extensions to provide utilities to access common information available in any automation execution and to send data ad hoc back to Phalanx as needed.
Install
$ npm install --save @risk3sixty/extension-sdk
Example
import R3sSdk from '@risk3sixty/extension-sdk'
// Pass back table of data
R3sSdk.addExecutionTabularRows(arrayData)
// Upload a file
R3sSdk.uploadFile(csvData, 'filename.csv')
Development
Test Server
$ npx phalanxSdkTestServer