# @arr/reverse

> A tiny, faster alternative to native Array.prototype.reverse

Latest version **1.0.1** (published 2019-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @arr/reverse
pnpm add @arr/reverse
yarn add @arr/reverse
bun add @arr/reverse
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-10-23 |
| First published | 2017-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 259 |
| Author | Luke Edwards |
| Maintainers | lukeed |
| Keywords | arr, array, Array.reverse, Array.prototype.reverse, performance, native, reverse |

## Links

- npm: https://www.npmjs.com/package/@arr/reverse
- Repository: https://github.com/lukeed/arr
- Homepage: https://github.com/lukeed/arr#readme
- Issues: https://github.com/lukeed/arr/issues
- npm.io page: https://npm.io/package/@arr/reverse

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-10-23
- 1.0.0 — 2017-07-13
- 0.2.0 — 2017-07-13
- 0.1.0 — 2017-07-09

## README

# @arr/reverse

> A tiny, faster alternative to native `Array.prototype.reverse`

## Install

```
$ npm install --save @arr/reverse
```

## Usage

```js
import reverse from '@arr/reverse';

let a = ['one', 'two', 'three'];
let reversed = reverse(a);

console.log(a);
//=> ['three', 'two', 'one']
console.log(reversed);
//=> ['three', 'two', 'one']
```

## API

### reverse(arr)

#### arr
Type: `Array`<br>
The array to iterate upon.


## License

MIT © [Luke Edwards](http://lukeed.com)

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