json-to-sqm

Outputs ARMA SQM files from JSON

Usage no npm install needed!

<script type="module">
  import jsonToSqm from 'https://cdn.skypack.dev/json-to-sqm';
</script>

README

What

Outputs SQM files from valid JSON, based on output from arma-class-parser

Installation

npm install json-to-sqm

Usage

var JsonToSqm = require('json-to-sqm')
var res = JsonToSqm({"Mission": {}})

Tests

npm test

Known issues:

Floating point numbers (not really an issue with this package) E.g 7.3458068e-007 would be -7.3458068e-7

License

WTFPL