2.0.4 • Published 4 years ago

rosz2js v2.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Build Status codecov npm version

rosz2js

Convert Battlescribe roster files (.rosz) to Javascript. Written in Typescript and it supports it fully.

Installation

npm install rosz2js

or

yarn add rosz2js

Usage

The parser accepts either an absolute file path to a roster file or a buffer of a roster file.

import parser from 'rosz2js';

parser.parse('/absolute/path/to/battlescribe/rosterfile.rosz').then((output) => {
  console.log(output); // Javascript representation of above roster file
});
2.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago