JSPM

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

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.

npm install --save vox-reader
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));
});