rosz2js
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

Rosz2JS

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
});

Readme

Keywords

none

Package Sidebar

Install

npm i rosz2js

Weekly Downloads

3

Version

2.0.4

License

MIT

Unpacked Size

71.3 kB

Total Files

51

Last publish

Collaborators

  • fredrik.makila