@bitsy/parser

parses bitsy gamedata

Stats

StarsIssuesVersionUpdatedCreatedSize
@bitsy/parser
302.0.16 months ago3 years agoMinified + gzip package size for @bitsy/parser in KB

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.