Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chec/integration-handler

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chec/integration-handler

Type definitions for creating integrations that run on the Chec infrastructure

  • 0.0.16
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

Chec Integration Handler

This package serves to provide TypeScript types for integrations created to work with the Chec infrastructure and dashboard. Please refer to the integration guide for getting started with an integration.

Installation

npm install -D @chec/integration-handler
# OR
yarn add -D @chec/integration-handler

Usage

Like the integration configuration SDK you can specify a type for your integration configuration. This will ensure that proper types are provided when using various APIs provided by the context parameter, which is used for fetch configuration for your integration.

import { IntegrationHandler } from '@chec/integration-handler';

interface MyIntegrationConfiguration {
  configKey: string
}

const handler: IntegrationHandler<MyIntegrationConfiguration> = async (request, context) => {

};

export = handler;

FAQs

Package last updated on 16 Dec 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc