Pagerduty-Client
PagerDuty client API wrapper for Node.js 6.x (ES6)
Installation
npm install pagerduty-client --save
Usage
Setup
const PagerDuty = ; // Setup using integration/service keyconst pager = '12345678912345678912345678912345';
Trigger
pager;
Acknowledge
pager;
Resolve
pager;
Catching errors
The API uses Promises, so any errors that occurs can be collected with catch. Example:
pager;
Tests
Tests can be run with: npm test
Licence
The MIT License (MIT)