# buffer-reverse

> A lite module for reverse-operations on buffers

Latest version **1.0.1** (published 2016-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install buffer-reverse
pnpm add buffer-reverse
yarn add buffer-reverse
bun add buffer-reverse
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-03-10 |
| First published | 2015-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Daniel Cousens |
| Maintainers | dcousens |
| Keywords | bits, reverse, buffer, buffer-reverse, crypto, inline, math, memory, performance, reverse |

## Links

- npm: https://www.npmjs.com/package/buffer-reverse
- Repository: https://github.com/crypto-browserify/buffer-reverse
- Issues: https://github.com/crypto-browserify/buffer-reverse/issues
- npm.io page: https://npm.io/package/buffer-reverse

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-03-10
- 1.0.0 — 2015-09-25

## README

# buffer-reverse

[![NPM](http://img.shields.io/npm/v/buffer-reverse.svg)](https://www.npmjs.org/package/buffer-reverse)
[![TRAVIS](https://secure.travis-ci.org/crypto-browserify/buffer-reverse.png)](http://travis-ci.org/crypto-browserify/buffer-reverse)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

A lite module for byte reverse on buffers.


## Examples

``` javascript
var reverse = require("buffer-reverse")
var a = new Buffer('00ff0f', 'hex')

console.log(reverse(a))
// => <Buffer 0f ff 00>
```


Or for those seeking those few extra cycles, perform the operation in place:

``` javascript
var reverseInplace = require("buffer-reverse/inplace")
var a = new Buffer('00ff0f', 'hex')

console.log(reverseInplace(a))
// => <Buffer 0f ff 00>

// See that a has been mutated
console.log(a)
// => <Buffer 0f ff 00>
```


## License [MIT](LICENSE)

---
_Source: https://npm.io/package/buffer-reverse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
