genie-scx

0.0.0-alpha.1 • Public • Published

genie-scx

Genie Engine SCX (scenario) file reader for Node.js and the browser

NPM

Usage Example

var scx = require('genie-scx')

API

SCX(filename: string)

Node only!

Creates a new SCX instance for the .SCX file filename.

SCX(buffer: Buffer)

Creates a new SCX instance for the given Buffer.

scx.parse(cb)

Parse the SCX file. cb is a Node-style callback (err, data). data is an object with lots of data. Use console.log or devtools to figure out the shape.

License

MIT

Package Sidebar

Install

npm i genie-scx

Weekly Downloads

4

Version

0.0.0-alpha.1

License

MIT

Unpacked Size

25.6 kB

Total Files

10

Last publish

Collaborators

  • goto-bus-stop