2.1.0 • Published 4 years ago

inspira-notifications v2.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

inspira-notifications

NPM package usefull for sending Slack notifications to the Healthcheck

HOW TO USE

npm install --save inspira-notifications

Use shopify rest calls

import InspiraNotifications from 'inspira-notifications';

const inspiraNotifications = new InspiraNotifications();

// Send a message to healthChecks channel
inspiraNotifications.healthChecks.send(
    { message: <your string or object message>})
    .catch((err) => { console.log( err)} )
    .then((result) => { console.log(result)});

HOW TO PUBLISH

Push a change with a new version set in package.json and bitbucket pipeline will automatically publish a new npm package.

NOTE: To understand when the version number needs to change refer to npm documentation

2.1.0

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago