@barchart/events-api-common

5.2.0 • Public • Published

@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).

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @barchart/events-api-common

Weekly Downloads

68

Version

5.2.0

License

MIT

Unpacked Size

35.5 kB

Total Files

10

Last publish

Collaborators

  • luka.sotra
  • jmbaker
  • tomsisk
  • swiderberg
  • alena.labada
  • ebarchukov
  • avasilevich
  • ravish.brahmbhatt
  • ddotlic
  • eapikat
  • l-zhang
  • mark.kerman
  • borja.yanes
  • bryan.ingle