@growthpal/vyasa
v1.0.5
Published
Vyasa is our in house logging tool.
Downloads
1
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.0
Usage
Install the package
npm install @growthpal/vyasa
Import 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.}")