npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

civ5save

0.3.1 • Public • Published

Build Status Coverage Status NPM version License Documentation

Features

  • Documented API
  • Support for reading general game information (difficulty, turn number, player civilizations and statuses, etc.)
  • Support for reading and writing victory types (time, science, etc.)
  • Support for reading and writing advanced options (policy saving, promotion saving, etc.)
  • Support for reading and writing hidden options (always peace, always war, etc.)
  • Support for reading and writing certain multiplayer options (pitboss, private game, turn mode, turn timer)

For an example of actual usage, see https://github.com/bmaupin/civ5save-editor

Installation

yarn add civ5save

Or:

npm install civ5save

Development

  1. Install Yarn (https://yarnpkg.com/docs/install)

  2. Clone the repository and install dependencies

    git clone https://github.com/bmaupin/js-civ5save.git
    cd js-civ5save
    yarn install
    

Testing

yarn test

Building (includes documentation)

yarn build

Credits

References

install

npm i civ5save

Downloadsweekly downloads

1

version

0.3.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability