vox-reader
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

vox-reader

npm module for reading .vox files which can be exported in MagickaVoxel. It's the inverse function to vox-saver.js

💾 Installation

npm install --save vox-reader

🚀 Usage

const fs = require('fs');
const readVox = require('vox-reader');

fs.readFile('my-voxel-art.vox', (error, buffer) =>
{
 if (error) throw error;

 console.log(readVox(buffer));
});

📖 License

(c) 2019 Florian Fechner. MIT License

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i vox-reader

    Weekly Downloads

    111

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    33.6 kB

    Total Files

    53

    Last publish

    Collaborators

    • florianfe