factorio-api-client
v1.0.3
Published
A client library for communicating with Factorio's Web API / Mod Portal written in Typescript for use in NodeJS projects.
Downloads
15
Maintainers
Readme
factorio-api-client
A client library for communicating with Factorio's Web API & Mod Portal written in Typescript for use in NodeJS projects.
Supported Features So Far
const APIClient = require('factorio-api-client').FactorioAPIClient;
const api = new APIClient();
// Get All Mods
const result = await api.modManager.getAllModsSimple();
console.log(result);
// Get Details for specific mod by name
const modInfo = await api.modManager.getModInfoByName('016-science');
console.log(modInfo);