# rosz2js

> Convert Battlescribe roster files (.rosz) to Javascript

Latest version **2.0.4** (published 2020-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install rosz2js
pnpm add rosz2js
yarn add rosz2js
bun add rosz2js
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2020-09-06 |
| First published | 2020-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 69.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Fredrik Makila |
| Maintainers | fredrik.makila |

## Links

- npm: https://www.npmjs.com/package/rosz2js
- Repository: https://github.com/GitHug/rosz2js
- npm.io page: https://npm.io/package/rosz2js

## Dependencies (2)

- [xml2js](https://npm.io/package/xml2js.md) ^0.4.23
- [unzipper](https://npm.io/package/unzipper.md) ^0.10.11

## Recent versions

- 2.0.4 (latest) — 2020-09-06
- 1.0.2 — 2020-07-31
- 1.0.1 — 2020-07-31

## README

<p align="center">
  <img src="https://github.com/githug/images/blob/master/rosz2js.png?raw=true" alt="Rosz2JS">
</p>

[![Build Status](https://travis-ci.org/GitHug/rosz2js.svg?branch=master)](https://travis-ci.org/GitHug/rosz2js)
[![codecov](https://codecov.io/gh/GitHug/rosz2js/branch/master/graph/badge.svg)](https://codecov.io/gh/GitHug/rosz2js)
[![npm version](https://badge.fury.io/js/rosz2js.svg)](https://badge.fury.io/js/rosz2js)

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

---
_Source: https://npm.io/package/rosz2js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
