bin-loader
v0.1.0
Published
Byte array (Uint8Array) loader for webpack
Downloads
15
Readme
bin-loader
Byte Array (Uint8Array) loader for webpack
Installation
# npm install bytearray-loader
Usage
var fileContent = require("bin!./file.bin");
// => returns file.bin content as Uint8Array
Credits
Francisco Baio Dias (@xicombd) for code from his buffer-loader
License
MIT