Interact with Better Stack in Node.JS
npm install betterstackmanagerBSM is a Node.js module made to make managing Better Stack data easier and quicker.
There is a required node version, and it is >= 6.0.0.
You must clone this repository (or, at least, the src directory) and require the Client object.
``js
const BSM = require('betterstackmanager');
const client = new BSM.Client();
const config = require('./config.json');
client.login(config.token);
`
Once you've done this, you can use the client object.
The node version requirement actually depends on the form-data sub-dependency included by axios.
You should browse the example directory to get started with actual examples.
The documentation for this project is contained within the docs` directory.
- Documentation
- Source Code
- Discord server
Get the package on
Codeberg or on
NPM.
As always, if you're in need of help, don't hesitate to create a new issue or to join my Discord server.
This project abides by the CCoC.