https://github.com/ladybug-tools/spider-core
Lightweight JavaScript modules containing the core data parsing and rendering functions of Spider.
https://github.com/ladybug-tools/spider-core
3d javascript node
Last synced: 9 months ago
JSON representation
Lightweight JavaScript modules containing the core data parsing and rendering functions of Spider.
- Host: GitHub
- URL: https://github.com/ladybug-tools/spider-core
- Owner: ladybug-tools
- License: mit
- Created: 2019-03-31T13:22:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-15T03:11:50.000Z (over 4 years ago)
- Last Synced: 2024-01-25T11:33:29.188Z (over 2 years ago)
- Topics: 3d, javascript, node
- Language: JavaScript
- Homepage: http://www.ladybug.tools/spider-core/docs/latest/
- Size: 1.09 MB
- Stars: 3
- Watchers: 5
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://nodei.co/npm/@ladybug-tools/spider-core/)
[](https://travis-ci.org/ladybug-tools/spider-core)
[](https://www.npmjs.com/package/@ladybug-tools/spider-core)
[](https://github.com/ladybug-tools/spider-core/tree/master/dist)
[](https://www.npmjs.com/package/@ladybug-tools/spider-core)
[](https://raw.githubusercontent.com/ladybug-tools/spider-core/master/LICENSE)

## Spider-Core
Lightweight JavaScript modules containing the core data parsing and rendering functions of Spider.
### Installation
```console
npm install --save @ladybug-tools/spider-core
```
### QuickStart
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.
```javascript
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));
```
### Documentation
Full API documentation of the latest version of this package can be found [here](https://www.ladybug.tools/spider-core/docs/latest/).
### Contributing
Contributions are most welcome! Please refere to the [contributing guide](https://www.ladybug.tools/spider-core/docs/latest/tutorial-contributing.html) to help you get started.
### Releases
A list of releases and changes applied for each one can be found [here](https://github.com/ladybug-tools/spider-core/releases).