UNDER CONSTRUCTION
Factorio blueprint reader
Factorio blueprint reader is a library that can read, create and manipulate factorio blueprints. It works both on node.js and browser.
Examples
const Reader = ; // Reader also accepts legacy blueprints (prior to 0.15)// To be consistent, Reader will always return a BlueprintBookconst blueprintBook = Reader; console;console; blueprintBook; const blueprint = blueprintBook; console;console;/** * More soon * /
const Recipe = ; // Return the expensive recipe if possibleconst expensive = true; console console console
Using in browser
If you're planning on using factorio blueprint reader in browser, all neccessary classes will be available under FBR
variable.
var Recipe = FBRRecipe; var Reader = FBRReader; // etc ...
Installation
This library will be published on npm when the first stable version gets released. (soon tm)
Contributing
Pull requests and issues are welcome.
Before commiting or making pull requests, make sure the run the linter with npm run lint