
Security News
Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.
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.
The npm package factorio-data receives a total of 3 weekly downloads. As such, factorio-data popularity was classified as not popular.
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.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.