FlorianFe / vox-reader.js

npm module for reading .vox files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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) 2022 Florian Fechner. MIT License

Extended features added by Maximilian Gaedig

About

npm module for reading .vox files

License:MIT License


Languages

Language:TypeScript 100.0%