Socket
Socket
Sign inDemoInstall

@iopipe/event-info

Package Overview
Dependencies
22
Maintainers
8
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @iopipe/event-info

Automatically detect function event type and log derived custom metrics.


Version published
Weekly downloads
11
Maintainers
8
Install size
86.0 kB
Created
Weekly downloads
 

Readme

Source

IOpipe JS Event Info Plugin

styled with prettier semantic-release

Records Lambda event information for observability, search, and alerting within IOpipe.

This plugin currently supports these event types:

  • Alexa Skill Kit
  • API Gateway
  • CloudFront
  • Kinesis
  • Kinesis Firehose
  • S3
  • Scheduled Events
  • SNS
  • SES
  • SQS

Installation

Note: This plugin is automatically included in the recommended package @iopipe/iopipe. No direct install necessary.

With yarn (recommended) in project directory:

yarn add @iopipe/event-info

With npm in project directory:

npm install @iopipe/event-info

Usage

const iopipe = require('@iopipe/core');
const eventInfoPlugin = require('@iopipe/event-info');
const iopipeWrapper = iopipe({
  plugins: [
    eventInfoPlugin()
  ]
})

exports.handler = iopipeWrapper((event, context) => {
    context.succeed('Success!');
  }
);

License

Apache-2.0 see LICENSE

Copyright 2018, IOpipe, Inc.

Keywords

FAQs

Last updated on 04 Sep 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc