1.0.3 • Published 4 years ago

factorio-api-client v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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);