zcode2js

0.1.0 • Public • Published

zcode2js

Convert from zcode files to JS files for use with Parchment.

API

zcode2jS(buffer)

buffer must be an instance of Buffer. Returns a string suitable for writing to a .z*.js file.

Example

var fs = require('fs');
var zcode2js = require('zcode2js');

var buffer = fs.readFileSync('minizork.z3');
fs.writeFileSync('minizork.z3.js', zcode2js(buffer));

Readme

Keywords

none

Package Sidebar

Install

npm i zcode2js

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • cameronhimself