3.1.4 • Published 8 years ago
hex-dump v3.1.4
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-dump
API
Dump(chunks, length)
chunks
instance of abstract-chunk-store. The most efficient chunk size to use is16
.length
of 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
3.1.4
8 years ago
3.1.3
8 years ago
3.1.2
8 years ago
3.1.1
8 years ago
3.1.0
8 years ago
3.0.0
8 years ago
2.12.0
8 years ago
2.11.1
8 years ago
2.11.0
8 years ago
2.10.1
8 years ago
2.10.0
8 years ago
2.9.0
8 years ago
2.8.0
9 years ago
2.7.2
9 years ago
2.7.1
9 years ago
2.7.0
9 years ago
2.6.0
9 years ago
2.5.0
9 years ago
2.4.0
9 years ago
2.3.0
9 years ago
2.2.3
9 years ago
2.2.2
9 years ago
2.2.1
9 years ago
2.2.0
9 years ago
2.1.0
9 years ago
2.0.0
9 years ago
1.1.0
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago