Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@fye/notification-schemas

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fye/notification-schemas

standards to send notifications

latest
npmnpm
Version
2.0.0
Version published
Maintainers
4
Created
Source

FYE Notification Schemas

A repo to hold common schemas for sending notifications

Install

yarn add @fye/notification-schemas

or

npm install @fye/notification-schemas

Usage

const { ProcessNotification, PagerDuty } = require('@fye/notification-schemas');

const processNotification = new ProcessNotification({...processParams});
const pagerDuty = new PagerDuty({...pagerDutyParams});

The fields validate when each constructor is instantiated and will throw with an error containing the fileds that did not validate.

Schema Wiki

FAQs

Package last updated on 03 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts