Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 414 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 414 Bytes

stellaris-to-json

A Node.js library for parsing and transforming Stellaris data files to JSON.

npm version

Supports Node 10+. Usage:

const fs = require('fs');
const { convert } = require('stellaris-to-json');

const file = fs.readFileSync('00_required_sets.txt', 'utf-8');
const json = convert(file);