# arraylikeobj

> Create an array-like object.

Latest version **1.1.1** (published 2020-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install arraylikeobj
pnpm add arraylikeobj
yarn add arraylikeobj
bun add arraylikeobj
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-03-07 |
| First published | 2020-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Justin Pridgen |
| Maintainers | hiimjustin000 |
| Keywords | array, object, arraylike, array-like, arraylikeobj, arraylikeobject, array-like-obj, array-like-object |

## Links

- npm: https://www.npmjs.com/package/arraylikeobj
- Repository: https://github.com/hiimjustin000/arraylikeobj
- Homepage: https://github.com/hiimjustin000/arraylikeobj#readme
- Issues: https://github.com/hiimjustin000/arraylikeobj/issues
- npm.io page: https://npm.io/package/arraylikeobj

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) ^13.7.7

## Recent versions

- 1.1.1 (latest) — 2020-03-07
- 1.1.0 — 2020-03-07
- 1.0.2 — 2020-03-07
- 1.0.1 — 2020-03-07
- 1.0.0 — 2020-03-07

## README

# ArrayLike

![NPM Version](https://img.shields.io/npm/v/arraylikeobj.svg?maxAge=3600) ![NPM Downloads](https://img.shields.io/npm/dt/arraylikeobj.svg?maxAge=3600)

Similar to a normal array, but without the functions.

```js
const ArrayLike = require("arraylikeobj");
const arraylike1 = new ArrayLike("Hello", "World");

for (const element of arraylike1) {
    console.log(element); /* Expected output: Hello
                                              World */
}
```

Property / Method | Description | Returns | Is iterable
------------------|-------------|---------|------------
length | The length of the object. | number | false
entries() | An array of the keys and values of the object. | \[number, type] (for every entry) | true
keys() | The keys of the object. | number (for every entry) | true
values() | The values of the object. | type (for every entry) | true
toString(separator?: string) | A string representation of the object, with the values joined by the separator. | string | false

Inspired by [Ecma](https://www.ecma-international.org).

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