
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
factorio-data
Advanced tools
JavaScript tooling for turning Wube's Factorio Lua prototype data into typed JSON/TypeScript artifacts.
The first supported artifact is recipe data. The extractor executes the Wube data stage files with a small Lua harness, then normalizes every recipe prototype into JSON and builds an index of craftable products. Recipe, ingredient, result, and craftable product entries include both game prototype icon paths where available and best-effort Factorio Wiki image/page URLs. Raw resource prototypes are also indexed with the planets where their map generation settings expose them.
This project expects lua to be available on PATH.
bun install
bun run build:recipes
Outputs:
generated/recipes.jsongenerated/recipes.tsimport { extractRecipes, writeRecipeArtifacts } from "factorio-data";
const recipeData = await extractRecipes();
const ironPlateRecipes = recipeData.recipesByProduct["item:iron-plate"].recipes;
const ironPlateIcon = recipeData.recipesByProduct["item:iron-plate"].wikiIconUrl;
const ironOrePlanets = recipeData.resourcesByProduct["item:iron-ore"].planets;
const coalAvailability = recipeData.resources.coal.planets;
await writeRecipeArtifacts({ outDir: "generated" });
bun run check:wiki-urls
The checker writes invalid URL details, including every recipe/product reference
path, to generated/invalid-wiki-urls.json.
The unscoped factorio-data package name has existed on npm before. Verify npm
accepts it for your account, or publish under a scope you control, for example
@your-scope/factorio-data.
bun run build
bun run pack:dry-run
bun run publish:public
FAQs
Typed Factorio recipe data extracted from Wube Lua prototypes.
We found that factorio-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.