An open API service indexing awesome lists of open source software.

https://github.com/xgqfrms/web-performance-analytics

web-performance-analytics
https://github.com/xgqfrms/web-performance-analytics

analytics metrics npm performance web web-performance-analytics

Last synced: 2 months ago
JSON representation

web-performance-analytics

Awesome Lists containing this project

README

          

# web-performance-analytics

> WPA

https://www.npmjs.com/package/web-performance-analytics

## install

```sh

$ yarn add web-performance-analytics
# OR
$ npm i web-performance-analytics

```

## usage

```js
// WebPerformanceAnalytics
import * as WPA from "web-performance-analytics";

const options = {
// your configs
};

const wpa = WPA.init(options);

wpa.onConnect({
// options
});

wpa.tracker({
// options
});

wpa.send({
// options
});

wpa.post({
// options
});

wpa.report({
// options
});

wpa.onError({
// options
});

wpa.onClose({
// options
});

```

# demo

```js
// ESM

```