open-index/open-npm huggingface dataset:
npm package: @mjvezzani/analytics-abstraction
Description: The purpose of this analytics abstraction library is to enable flexibility of choice in analytics providers while creating a consistent API that does not change when moving from one analytics provider to the next.
Latest version: 0.0.3

# Analytics Abstraction
The purpose of this analytics abstraction library is to enable
flexibility of choice in analytics providers while creating a consistent
API that does not change when moving from one analytics provider to the
next.

# Installation
`$ npm install @mjvezzani/analytics-abstraction`

# Usage
```
const analytics = require("@mjvezani/analytics-abstraction")

// Manually Send Pageview
analytics.pageview();

// Send Identity Information
analytics.identify();

// Send Event Information
analytics.event();
```