@dittodub/melange-metrics
v1.0.36
Published
A custom metrics library for Node.js
Downloads
53
Readme
Metrics Library
This library provides metrics functionalities for recording data throughout your systems.
Installation
npm install metrics-libraryUsage
import { getMetric } from 'metrics-library';
console.log(getMetric()); // Output: sample_metric_valueRunning tests
npm testLinting
npm run lintTest server
To run the test server
npm run buildnode dist/tests/manual-test-server.jsPublishing
You need to be part of the dittodub npm organization to publish the node package. https://www.npmjs.com/settings/dittodub/packages.
Then run
npm loginThen
npm run publish-package