buffer-loader

0.1.0 • Public • Published

Buffer loader for webpack

Adapted from binary loader.

Installation

npm install buffer-loader

Usage

var fileContent = require('buffer-loader!./file.bin');
// => returns file.bin content as a buffer

Documentation: Using loaders

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i buffer-loader

      Weekly Downloads

      1,053

      Version

      0.1.0

      License

      none

      Unpacked Size

      2.05 kB

      Total Files

      4

      Last publish

      Collaborators

      • xicombd