gbxml
v0.0.7
Published
A gbXML loader for TypeScript and JavaScript with Typed Interfaces and fast loader
Downloads
2
Readme
gbXML for node.js
This module is intended for use in node.js to load gbXML files into JSON in a fastest way (using a schema aware c++ backend) and return it with TypeScript decelerations.
npm install --save gbxml
And use it with as:
import * as gbXML from 'gbxml'
import * as fs from 'fs'
const fileString = fs.readFileSync( __GBXML_FILE_PATH__, 'utf8' )
const gbXMLFileJSON = gbXML( fileString )