Parse the Warframe worldstate into useable javascript objects.
You can find the documentation here
$ npm i -S warframe-worldstate-parser
For the most part, you'll have a better experience consuming the product of this from the information in Live version
// import WorldState from 'warframe-worldstate-data';
// using this syntax to make it precisely testable in a test
const WorldStateParser = await import('warframe-worldstate-parser');
const worldstateData = await fetch('https://content.warframe.com/dynamic/worldState.php').then((data) => data.text());
const ws = await WorldStateParser(worldstateData);
console.log(ws.alerts[0].toString());
See the parser in action here: