{"_id":"@dancasey/hexdump","_rev":"7-998f0925871b3c02acbbc9f31be0c5f3","name":"@dancasey/hexdump","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@dancasey/hexdump","version":"0.1.0","keywords":["hexdump"],"author":{"url":"https://github.com/dancasey","name":"Dan Casey","email":"dc181@icloud.com"},"license":"MIT","_id":"@dancasey/hexdump@0.1.0","maintainers":[{"name":"dancasey","email":"dc181@icloud.com"}],"homepage":"https://github.com/dancasey/hexdump#readme","bugs":{"url":"https://github.com/dancasey/hexdump/issues"},"dist":{"shasum":"474be93e4b594489e28f4db63812b2e5510076c7","tarball":"https://registry.npmjs.org/@dancasey/hexdump/-/hexdump-0.1.0.tgz","integrity":"sha512-k/sgN1zf2NlxNuWKDkzFWzVkiTUtkNfo4XTGmgbRSyXcs7zWO9NN//vpN0gVmITRKO0s768Oh5K3aCvea3c4pQ==","signatures":[{"sig":"MEUCIAyRmrT1wVkxLX7lmfpHHVwjiLDvq+srM7+gkhCSQCTPAiEA0XXSJhmZVs9WubMIxcxAOnmn1SY4MRsV1lCltsqYZrM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/hexdump.js","_from":".","_shasum":"474be93e4b594489e28f4db63812b2e5510076c7","gitHead":"1d1ae9dc99c5cbcf95dde9500b033ba61bf308be","scripts":{"test":"nyc ava","prepublish":"tsc"},"_npmUser":{"name":"dancasey","email":"dc181@icloud.com"},"repository":{"url":"git+ssh://git@github.com/dancasey/hexdump.git","type":"git"},"_npmVersion":"4.0.2","description":"A very simple console hexdump for Node.js","_nodeVersion":"7.1.0","dependencies":{"chalk":"^1.1.3"},"devDependencies":{"typescript":"^2.0.10","@types/node":"^6.0.48","@types/chalk":"^0.4.31"},"_npmOperationalInternal":{"tmp":"tmp/hexdump-0.1.0.tgz_1479402688408_0.5239101231563836","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"0.1.1":{"name":"@dancasey/hexdump","version":"0.1.1","keywords":["hexdump"],"author":{"url":"https://github.com/dancasey","name":"Dan Casey","email":"dc181@icloud.com"},"license":"MIT","_id":"@dancasey/hexdump@0.1.1","maintainers":[{"name":"dancasey","email":"dc181@icloud.com"}],"homepage":"https://github.com/dancasey/hexdump#readme","bugs":{"url":"https://github.com/dancasey/hexdump/issues"},"dist":{"shasum":"81e06896dac5b2a13ec0a9eeffeceab889e3f996","tarball":"https://registry.npmjs.org/@dancasey/hexdump/-/hexdump-0.1.1.tgz","integrity":"sha512-OhosivVbAhTyoLkRiDnvGyZ+kykORP+IRegmEA2R33vs835b5DSCiMKONprp7xwgFSjBiLVnimqV7Ae8gJ9uRQ==","signatures":[{"sig":"MEQCIFo1VPgm/sgaYPzrbUwRHkr5pWd74khuJ7SoDltmdgXZAiAdy1fYPD4h6apBUXow2kgrhy6m3s5WqcmTl5FOWQctlg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/hexdump.js","_from":".","types":"dist/hexdump.d.ts","_shasum":"81e06896dac5b2a13ec0a9eeffeceab889e3f996","gitHead":"f6de2017b14bc0418360b8e9fa3e13f54a175d19","scripts":{"prepublish":"tsc"},"_npmUser":{"name":"dancasey","email":"dc181@icloud.com"},"repository":{"url":"git+ssh://git@github.com/dancasey/hexdump.git","type":"git"},"_npmVersion":"4.0.2","description":"A very simple console hexdump for Node.js","_nodeVersion":"7.1.0","dependencies":{"chalk":"^1.1.3"},"devDependencies":{"typescript":"^2.0.10","@types/node":"^6.0.48","@types/chalk":"^0.4.31"},"_npmOperationalInternal":{"tmp":"tmp/hexdump-0.1.1.tgz_1479403138137_0.41936755552887917","host":"packages-18-east.internal.npmjs.com"},"directories":{}},"1.0.0":{"name":"@dancasey/hexdump","version":"1.0.0","description":"A very simple console hexdump for Node.js","main":"dist/hexdump.js","scripts":{"prepare":"tsc"},"repository":{"type":"git","url":"git+ssh://git@github.com/dancasey/hexdump.git"},"keywords":["hexdump"],"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"license":"MIT","bugs":{"url":"https://github.com/dancasey/hexdump/issues"},"homepage":"https://github.com/dancasey/hexdump#readme","devDependencies":{"@types/chalk":"^0.4.31","@types/node":"^24.10.1","typescript":"^5.4.5"},"types":"dist/hexdump.d.ts","dependencies":{"yoctocolors-cjs":"^2.1.3"},"gitHead":"5551ebf05cd2e32e84005165144a7dda4395cafe","_id":"@dancasey/hexdump@1.0.0","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-so62p9qkTElPj2LG8/1U3Svo2WwR8lfJPLB+XXUEUVcCaPKFI7MpnGRdSQETnPQwo/KkTAM+vJVjEqBABQSOgw==","shasum":"66abdbadf49e4955452044c756ff2eb2cc71c0f9","tarball":"https://registry.npmjs.org/@dancasey/hexdump/-/hexdump-1.0.0.tgz","fileCount":7,"unpackedSize":24960,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCjQw4N5jy/7LV9Ay3Mi3DJQeVTk7iv4gaJt06ZxYtGEAIgdfWxL2GXk7of96EHlmr14q+et/gD3u5YNT/Dos0HeX0="}]},"_npmUser":{"name":"dancasey","email":"dc181@icloud.com"},"directories":{},"maintainers":[{"name":"dancasey","email":"dc181@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hexdump_1.0.0_1763837434841_0.41997941301552943"},"_hasShrinkwrap":false}},"time":{"created":"2016-11-17T17:11:30.341Z","modified":"2025-11-22T18:50:35.227Z","0.1.0":"2016-11-17T17:11:30.341Z","0.1.1":"2016-11-17T17:18:58.686Z","1.0.0":"2025-11-22T18:50:35.028Z"},"bugs":{"url":"https://github.com/dancasey/hexdump/issues"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"license":"MIT","homepage":"https://github.com/dancasey/hexdump#readme","keywords":["hexdump"],"repository":{"type":"git","url":"git+ssh://git@github.com/dancasey/hexdump.git"},"description":"A very simple console hexdump for Node.js","maintainers":[{"name":"dancasey","email":"dc181@icloud.com"}],"readme":"# hexdump\n\nA very simple console hexdump for Node.js\n\n- can highlight a range of bytes \n- no ascii column, just bytes\n\n## get it\n\n```bash\nnpm install --save @dancasey/hexdump\n```\n\n## import it\n\n```js\nimport hexdump from \"@dancasey/hexdump\"\n```\n\nalternatively\n\n```js\nconst hexdump = require(\"@dancasey/hexdump\").default \n```\n\n## use it\n\n```js\nlet buf = Buffer.from(\"hello there, this is a buffer from some text\")\nhexdump(buf, 13, 4)\n```\n\n## result\n\n![result](result.png)\n\n## API\n\n```ts\n/**\n * A very simple console hexdump for Node.js\n * @param {Buffer} buffer The Node.js buffer to print\n * @param {number} [hlStart] The (first) byte to highlight (defaults to no highlights)\n * @param {number} [hlLength=1] The number of bytes to highlight (defaults to one, if `hlStart` given)\n */\nexport default function hexdump(buffer: Buffer, hlStart?: number, hlLength?: number): void;\n```\n","readmeFilename":"README.md"}