# nexxa-atoa

> arguments object to array

Latest version **1.0.2** (published 2015-12-18) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install nexxa-atoa
pnpm add nexxa-atoa
yarn add nexxa-atoa
bun add nexxa-atoa
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-12-18 |
| First published | 2015-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | StefanoMagrassi |
| Maintainers | stefano_magrassi |
| Keywords | javascript, node, arguments, object, array |

## Links

- npm: https://www.npmjs.com/package/nexxa-atoa
- Repository: https://github.com/Nexxa/atoa
- Homepage: https://github.com/Nexxa/atoa#readme
- Issues: https://github.com/Nexxa/atoa/issues
- npm.io page: https://npm.io/package/nexxa-atoa

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2015-12-18
- 1.0.1 — 2015-11-23
- 1.0.0 — 2015-11-19

## README

# atoa [![Build Status](https://travis-ci.org/Nexxa/atoa.svg?branch=master)](https://travis-ci.org/Nexxa/atoa)

Converts javascript "arguments" object into array.

Instead of the using the widespread `Array.prototype.slice` method, it copies the `arguments` items into a real array for better optimization, as explained [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments) (look at the **Important** alert) and [here](https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments).

## API
### `atoa(args, [start])`

Param     | Type     | Default | Description
--------- | -------- | ------- | -------------------------------
**args**  | *object* |         | the arguments array-like object
**start** | *number* | **0**   | starting index (0-based)


## Contribution

Fork it and start to edit.

Testing is made with [TAPE](https://github.com/substack/tape) and [tap-spec](https://github.com/scottcorgan/tap-spec) reporter.

Continuous integration courtesy of [Travis CI](https://travis-ci.org/).

## Reference

- [MDN Arguments object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments)
- [Optimization Killers](https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments)

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