Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@barchart/events-api-common
Advanced tools
A public library of shared JavaScript code used by the Barchart Event Tracking System and client SDK.
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, its translated into more complex types before use. This is facilitated by the Schema
definitions which build custom "reviver" functions for JSON parsing.
This library has been published as a public module to NPM as @barchart/events-api-common.
npm install @barchart/events-api-common -S
FAQs
Common classes used by the Barchart Event Tracking System
The npm package @barchart/events-api-common receives a total of 4 weekly downloads. As such, @barchart/events-api-common popularity was classified as not popular.
We found that @barchart/events-api-common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 open source maintainers collaborating on the project.
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.