@bitsy/parser
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @bitsy/parser

Weekly Downloads

2

Version

2.1.0

License

ISC

Unpacked Size

26.4 kB

Total Files

5

Last publish

Collaborators

  • ragzouken
  • seansleblanc