@bitsy/parser

parses bitsy gamedata

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
20May 30, 2021May 13, 2018Minified + 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.