1.0.3 • Published 8 months ago

nbtutils v1.0.3

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
8 months ago

Install

Run npm install nbtutils

Demo

Run npm test

See the /examples folder for details.

const NBTUtils = require('../nbt');
const fs = require('fs');

let nbt = new NBTUtils('BE'); // Big-endian/Little-endian
nbt.Parse('./test.nbt', false /*ifGzip */, (err, data) => {
    if (err) {
        throw new Error(err);
    }
    console.log(data);
    fs.writeFileSync('test.json', JSON.stringify(data, null, '\t'));
});
1.0.3

8 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago