From c70b59ff1e01e4875f0a8792f428adc9894f8adf Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 25 Sep 2017 12:39:09 -0600 Subject: [PATCH] show browser usage --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cba0be5..2aa7a54 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ var str = hexdump(new Uint8Array([ 0, 1, 2, 127, 254, 255 ])); console.log(str); ``` +### Browser + +```javascript +console.log(window.hexdump(new Uint8Array([ 0, 1, 2, 127, 254, 255 ]))); +``` + ### CLI ```bash