sd2-data
v0.8.9
Published
"# sd2-data used for the tools and bots related to Steel Division 2"
Downloads
27
Readme
Repository holds data for SD2
https://www.npmjs.com/package/sd2-data
Installation
npm i sd2-data
Usage
const maps = require("sd2-data/maps")
const {byPlayerSize, sd2_league} = maps
const divisions = require("sd2-data/divisions")
const { divisionsAllies, divisionsAxis, divisionsById } = divisions
const units = require("sd2-data/units")
const unitById = require("sd2-data/unitById")
Addendum
The unitdata is quite big (240kb) and will always grow.
Typescript definitons should be available.
Updates & new Versions
I will update the repository once new data arrives.