hex-dump
v3.1.4
Published
Simplistic hex dumps for browsers
Readme
hex-dump
Simplisitc hex dump for browsers.
Features
- shows byte offset, hex values and strings
- entropy bar
- text selection with .getSelection
- highlights same values
- lazily loads binaries of arbitrary sizes
Example

var Dump = require('hex-dump');
var d = new Dump(chunks, length);
d.appendTo(document.body);Installation
$ npm install hex-dumpAPI
Dump(chunks, length)
chunksinstance of abstract-chunk-store. The most efficient chunk size to use is16.lengthof the content
#appendTo(el)
#getSelection(cb)
If the user has selected some data, call cb with (err, buf), where buf is the slice of data selected.
License
MIT

