1.0.4 • Published 10 months ago

analytics-apimetrics v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

apimetrics

A lightweight utility package for analyzing api metrics like total calls, response time ,min response time,max response time etc.

Description

analytics-apimetrics is a simple yet powerful utility package designed to make your life easier by providing a complete analysis tool for api performance check

at first you have to register to a web platform where you can visualize the api performance the link is :- https://apimetrics-frontend.vercel.app/ after register there will be a token generate which will be your uniqueCode you have to pass the code to the options of the function storeMetrics after register or login you can track you api metrics in web panel

Installation

You can install the package via npm:

npm install analytics-apimetrics

```yarn
yarn add analytics-apimetrics

## Usage

Here's a basic example of how to use the package:

for commonjs module

const ApiMetricsClass = require('analytics-apimetrics');

app.use(ApiMetricsClass.storeMetrics({ uniqueCode: uniqueCode }));

for ESmodule

import ApiMetricsClass from 'analytics-apimetrics';
app.use(ApiMetricsClass.storeMetrics({ uniqueCode: uniqueCode }));


here you have to pass the uniqueCode which you will get after register
there will be an alert box whcih has 24 length string you have to pass
1.0.4

10 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago