{"library":"arraybuffer-loader","type":"library","category":null,"description":"A webpack loader that returns file contents as an ArrayBuffer, useful for binary file types like WebAssembly (.wasm), images, or data files. Current stable version is 1.0.8. The package has low release cadence, primarily dependency updates. Key differentiator: provides raw ArrayBuffer output, whereas similar loaders may return different buffer types. Supports modern browsers (IE>=10) and Node.js. Security fix in v1.0.6 replaced deprecated Buffer API. Works with webpack 4+ but requires special configuration for .wasm files due to built-in webpack WebAssembly support.","language":"javascript","status":"active","version":"1.0.8","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install arraybuffer-loader","imports":["// In webpack.config.js\nmodule: { rules: [{ test: /\\.wasm$/, type: 'javascript/auto', use: ['arraybuffer-loader'] }] }","const buffer = require('arraybuffer!./file.dat')","import buffer from 'arraybuffer!./file.dat'"]},{"cmd":"yarn add arraybuffer-loader","imports":[]},{"cmd":"pnpm add arraybuffer-loader","imports":[]}],"homepage":null,"github":"https://github.com/pine/arraybuffer-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/arraybuffer-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/arraybuffer-loader/compatibility"}}