Package Exports
- recursive-buffer-split
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 (recursive-buffer-split) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
recursive-buffer-split
Like String.prototype.split() for Buffers. Uses recursion.
const recursiveSplit = require(`recursive-buffer-split`)
const buff = Buffer(`the humans are dead`)
recursiveSplit(Buffer(` `), buff)
// [ <Buffer 74 68 65>,
// <Buffer 68 75 6d 61 6e 73>,
// <Buffer 61 72 65>,
// <Buffer 64 65 61 64> ]