Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Working title for the core component of a proposed joint effort to make a cross-vendor version of Insights.js

License

Notifications You must be signed in to change notification settings

cbsinteractive/openinsights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 1, 2022
f8e0e96 · Apr 1, 2022
Dec 10, 2021
Apr 1, 2022
Mar 2, 2022
Feb 4, 2022
Dec 10, 2021
Mar 2, 2022
Oct 8, 2020
Apr 1, 2022
Dec 10, 2021
Dec 10, 2021
Apr 1, 2022
Dec 10, 2021
Apr 1, 2022
Apr 1, 2022
Dec 10, 2021
Jul 30, 2020
Dec 10, 2021
Feb 4, 2022

Repository files navigation

Open Insights

Lint

Open Insights is a framework for constructing browser-based RUM clients.

It allows a site owner to construct their own client using one or more "providers". The client is then self-hosted and deployed alongside the rest of their JavaScript resources.

This repository contains the framework "core" component. This component is meant to be added to the site ownder's project along with one or more providers. The providers are then imported by the site owner's code, and everything is compiled to produce a client JavaScript file deployable to production.

See Open Insights CBSi Demo for a demonstration of how to compile a client.

Why Use It

  • Open Insights represents a collaboration by industry members to measure, and ultimately improve, the internet as a whole.
  • Open Insights is designed to work with multiple vendors.
  • Open Insights is meant to be self-hosted, unlike many vendor-centric, browser-based RUM clients.
  • Open Insights gives the site owner control over code compilation and included functionality.

Development

In most cases, developers will reference the core module as a dependency, using it to compile a customized client for use on their sites. These instructions are for working on the core module itself.

Install Dependencies

Within the project root directory:

npm install

Run Linter

npm run lint

Run Tests

npm test

Build Code Documentation

npm run build:doc

Publish

Install prerequesite:

npm install --global np

Build release and publish to npm:

np --branch main-viacomcbs

About

Working title for the core component of a proposed joint effort to make a cross-vendor version of Insights.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.3%
  • JavaScript 5.7%