# factorio-api-client

> A client library for communicating with Factorio's Web API / Mod Portal written in Typescript for use in NodeJS projects.

Latest version **1.0.3** (published 2020-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install factorio-api-client
pnpm add factorio-api-client
yarn add factorio-api-client
bun add factorio-api-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2020-01-23 |
| First published | 2019-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 16.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | morpheuszero |
| Keywords | factorio, factorio http client, factorio api, factorio game |

## Links

- npm: https://www.npmjs.com/package/factorio-api-client
- Repository: https://github.com/MorpheusZero/factorio-api-client
- Homepage: https://github.com/MorpheusZero/factorio-api-client#readme
- Issues: https://github.com/MorpheusZero/factorio-api-client/issues
- npm.io page: https://npm.io/package/factorio-api-client

## Dependencies (1)

- [request](https://npm.io/package/request.md) ^2.88.0

## Recent versions

- 1.0.3 (latest) — 2020-01-23
- 1.0.2 — 2020-01-23
- 1.0.0-a — 2019-04-29
- 1.0.0 — 2019-04-24

## README

# factorio-api-client
A client library for communicating with Factorio's Web API &amp; 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);
```

---
_Source: https://npm.io/package/factorio-api-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
