@openinsights/openinsights
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Open Insights

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

  1. Open Insights represents a collaboration by industry members to measure, and ultimately improve, the internet as a whole.
  2. Open Insights is designed to work with multiple vendors.
  3. Open Insights is meant to be self-hosted, unlike many vendor-centric, browser-based RUM clients.
  4. 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 run test

Build Code Documentation

npm run build:doc

Readme

Keywords

none

Package Sidebar

Install

npm i @openinsights/openinsights

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

105 kB

Total Files

70

Last publish

Collaborators

  • patrickhamann