Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ck2parser

chriskjaer6MIT1.0.0

Crusader Kings 2 Savegame to JSON Parser.

ck2, parser, crusader, kings, ii, json, savegame

readme

Crusader Kings 2 Savegame Parser

A CK2 Savegame to JSON parser for the Paradox Game: Crusader Kings 2.

Features

Takes the path to an uncompressed savegame and returns a promise which resolves to a json object.

Usage

Install package with npm. npm install ck2parser --save

var parse = require('ck2parser');
var SAVEGAME = '../path/to/you/savefile.ck2';

parse(SAVEGAME)
  .then(console.log)
  .catch(console.error)

Author

Chris Kjær Sørensen

Copyright Chris Kjær Sørensen

LICENSE MIT