@bitsy/parser
v2.1.0
Published
parses bitsy gamedata
Downloads
52
Readme
@bitsy/parser
A Node.js module that parses bitsy gamedata.
Installation
npm install @bitsy/parser --save
yarn add @bitsy/parser
bower install @bitsy/parser --save
Usage
Javascript
var parser = require('@bitsy/parser');
var world = parser.BitsyParser.parse(gamedata); // gamedata is a string array of lines
TypeScript
import { BitsyParser } from '@bitsy/parser';
const world = BitsyParser.parse(gamedata); // gamedata is a string array of lines