In-house npm package to interact with vyasa.
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
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.}")