{"_id":"buffer-reverse","_rev":"4579543","name":"buffer-reverse","description":"A lite module for reverse-operations on buffers","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"time":{"modified":"2026-04-10T15:55:14.000Z","created":"2015-09-25T07:26:39.365Z","1.0.1":"2016-03-10T10:09:33.026Z","1.0.0":"2015-09-25T07:26:39.365Z"},"users":{},"author":{"name":"Daniel Cousens"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-reverse.git"},"versions":{"1.0.1":{"name":"buffer-reverse","version":"1.0.1","description":"A lite module for reverse-operations on buffers","files":["index.js","inplace.js"],"main":"index.js","scripts":{"standard":"standard","test":"npm run-script standard && npm run-script unit","unit":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-reverse.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-reverse/issues"},"homepage":"https://github.com/crypto-browserify/buffer-reverse","keywords":["bits","reverse","buffer","buffer-reverse","crypto","inline","math","memory","performance","reverse"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"standard":"*","tape":"*"},"gitHead":"62834590e039007e6a4e9375375c941785ac5e57","_id":"buffer-reverse@1.0.1","_shasum":"49283c8efa6f901bc01fa3304d06027971ae2f60","_from":".","_npmVersion":"3.8.0","_nodeVersion":"5.8.0","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"dist":{"shasum":"49283c8efa6f901bc01fa3304d06027971ae2f60","size":1744,"noattachment":false,"key":"/buffer-reverse/-/buffer-reverse-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-reverse/download/buffer-reverse-1.0.1.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/buffer-reverse-1.0.1.tgz_1457604572629_0.8948099622502923"},"directories":{},"publish_time":1457604573026,"_hasShrinkwrap":false,"_cnpm_publish_time":1457604573026,"_cnpmcore_publish_time":"2021-12-16T13:02:21.462Z"},"1.0.0":{"name":"buffer-reverse","version":"1.0.0","description":"A lite module for reverse-operations on buffers","main":"index.js","scripts":{"standard":"standard","test":"npm run-script standard && npm run-script unit","unit":"mocha"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-reverse.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-reverse/issues"},"homepage":"https://github.com/crypto-browserify/buffer-reverse","keywords":["bits","reverse","buffer","buffer-reverse","crypto","inline","math","memory","performance","reverse"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"mocha":"*","standard":"*"},"gitHead":"7873fb252091280b917be7f580554d8c52c016ed","_id":"buffer-reverse@1.0.0","_shasum":"56847f494bc44aa8e5bc6f29ee83739fa4c1a305","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.1","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"dist":{"shasum":"56847f494bc44aa8e5bc6f29ee83739fa4c1a305","size":2248,"noattachment":false,"key":"/buffer-reverse/-/buffer-reverse-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-reverse/download/buffer-reverse-1.0.0.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"directories":{},"publish_time":1443165999365,"_hasShrinkwrap":false,"_cnpm_publish_time":1443165999365,"_cnpmcore_publish_time":"2021-12-16T13:02:21.707Z"}},"readme":"# buffer-reverse\n\n[![NPM](http://img.shields.io/npm/v/buffer-reverse.svg)](https://www.npmjs.org/package/buffer-reverse)\n[![TRAVIS](https://secure.travis-ci.org/crypto-browserify/buffer-reverse.png)](http://travis-ci.org/crypto-browserify/buffer-reverse)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nA lite module for byte reverse on buffers.\n\n\n## Examples\n\n``` javascript\nvar reverse = require(\"buffer-reverse\")\nvar a = new Buffer('00ff0f', 'hex')\n\nconsole.log(reverse(a))\n// => <Buffer 0f ff 00>\n```\n\n\nOr for those seeking those few extra cycles, perform the operation in place:\n\n``` javascript\nvar reverseInplace = require(\"buffer-reverse/inplace\")\nvar a = new Buffer('00ff0f', 'hex')\n\nconsole.log(reverseInplace(a))\n// => <Buffer 0f ff 00>\n\n// See that a has been mutated\nconsole.log(a)\n// => <Buffer 0f ff 00>\n```\n\n\n## License [MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/crypto-browserify/buffer-reverse","bugs":{"url":"https://github.com/crypto-browserify/buffer-reverse/issues"},"license":"MIT"}