JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 81
  • Score
    100M100P100Q71787F
  • License MIT

Takes a Byte Array of .vox file data and returns a JavaScript Object with all the containing informations

Package Exports

  • vox-reader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vox-reader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vox-reader

npm module for reading .vox files which can be exported in MagickaVoxel.

💾 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