tko / factorio-data

Factorio prototype data in JSON format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM version GitHub version Dependency Status Open Source Love Build Status

factorio-data

Factorio prototype data in JSON format.

Using from Node.js

npm install --save factorio-data
const recipes = require('factorio-data/data/0.15.12/recipes')
// or alternatively
require('factorio-data/data/latest-experimental/recipes')
require('factorio-data/data/latest-stable/recipes')

Using from other languages

File path example: node_modules/factorio-data/data/latest-experimental/recipes.json

Generating

npm install --global factorio-data
GAME_DIR=example/Factorio
factorio-data $GAME_DIR --save # save to ./data/$GAME_VERSION

About

Factorio prototype data in JSON format

License:MIT License


Languages

Language:JavaScript 100.0%