New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

incart-public-events

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

incart-public-events

inCart's Public Event definition in typescript

  • 0.0.24
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by166.67%
Maintainers
2
Weekly downloads
 
Created
Source

incart-public-events

Using types with inCart project

To use our types. Simply import us as your depdendcies like so

yarn add incart-public-events

This will allow you to:

import type { InCartPublicEvents } from 'incart-public-events'

const body: InCartPublicEvents = request.body
// Do your events handling with benefits of typings!

Contribution

To declare your types. Update index.ts with your interface as you would normally did in TS project.

Make sure you export them.

Run

yarn build

Then publish it!

Keywords

FAQs

Package last updated on 10 Aug 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