@growthpal/vyasa
v1.0.5
Published
Vyasa is our in house logging tool.
Maintainers
Readme
VYASA
In-house npm package to interact with vyasa.
Prerequisites
This project requires NodeJS (version 8 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.
$ npm -v && node -v
6.4.1
v8.16.0Usage
Install the package
npm install @growthpal/vyasaImport the package
const vyasa = require("@growthpal/vyasa")
or
import vyasa from '@growthpal/vyasa'Set the enpoint
vyasa.setEndpoint("URL ENDPOINT OF VYASA)Set the API key
vyasa.setKey("API_KEY")Call vyasa
vyasa.logger("{DATA OF THE LOG IN JSON FORMAT.}")