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

@barchart/events-api-common

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barchart/events-api-common

Common classes used by the Barchart Event Tracking System

  • 3.3.5
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-96.1%
Maintainers
1
Weekly downloads
 
Created
Source

@barchart/events-api-common

NPM

A public library of JavaScript code used Barchart Event Tracking Service — a simple tool for collecting and reporting usage statistics.

Overview

Simply put, this project contains code that runs on both the servers (i.e. Serverless applications) and clients (e.g. browser, mobile, etc).

/lib/data/serialization

Data is passed between client and server in JSON format. However, the code works with more complex types. For example, Decimal instances are used in place of native JavaScript floats and Day instances are used instead of native JavaScript Dates.

So, before data is exchanged, it must be converted to pure JSON. Conversely, when data is received, as pure JSON, it's translated into more complex types before use. This is facilitated by the Schema definitions which build custom "reviver" functions for JSON parsing.

Notable Consumers

Package Managers

This library has been published as a public module to NPM as @barchart/events-api-common.

FAQs

Package last updated on 03 May 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