mca-js
v0.1.1
Published
An MCA parser written in JavaScript for Node.js.
Downloads
12
Readme
mca-js
Copyright (c) 2016 Jonathan Faulch
About
mca-js is an MCA parser written in JavaScript for Node.js.
Usage
var fs = require('fs');
var mca = require('mca-js');
var nbt = require('nbt-js');
var file = fs.readFileSync('r.0.0.mca');
var data = mca.getData(file, 0, 0);
var tag = nbt.read(data);
console.log(JSON.stringify(tag.payload));
License
mca-js is licensed under the MIT License. See license.md.