Lightweight JavaScript modules containing the core data parsing and rendering functions of Spider.
npm install --save @ladybug-tools/spider-core
The spider-core package aims to provide a data manipulation layer from which users can build 3D visualisation tools as well as general 3D model debugging applications.
const fs = require('fs');
const Spider = require('@ladybug-tools/spider-core');
const gbXMLString = fs.readFileSync('/path/to/file.gbxml').toString();
const gbXMLJson = Spider.gbXMLParser.parseFileXML(gbXMLString);
console.log(JSON.stringify(gbXMLJson, null, 2));
Full API documentation of the latest version of this package can be found here.
Contributions are most welcome! Please refere to the contributing guide to help you get started.
A list of releases and changes applied for each one can be found here.