This is an npm package designed to interact with the Altern API. With it, you can easily check the status of the API and perform other functionalities.
npm install altern
const altern = require('altern');
altern.isStatusSuccess().then(status => {
console.log(status); // Returns true if status is 'success'
});
MIT