# zip-object

> Create an object from from arrays of keys and values

Latest version **0.1.0** (published 2014-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install zip-object
pnpm add zip-object
yarn add zip-object
bun add zip-object
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-01-25 |
| First published | 2014-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Scott Corgan |
| Maintainers | scottcorgan |
| Keywords | zip, object, lodash, array, object |

## Links

- npm: https://www.npmjs.com/package/zip-object
- Repository: https://github.com/scottcorgan/zip-object
- Issues: https://github.com/scottcorgan/zip-object/issues
- npm.io page: https://npm.io/package/zip-object

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-01-25

## README

# zip-object

Create an object from from arrays of keys and values. (Inspired by [lodash's _.zipObject](http://devdocs.io/lodash/index#zipObject))

## Install

```
npm install zip-object --save
```

## Usage

Either takes two arrays or an array of arrays as the argument(s).

```js
var zipObject = require('zip-object');
var zipped = zipObject(['key1', 'key2'], ['value1', 'value2']);

console.log(zipped.key1); // outputs 'value1'
console.log(zipped.key2); // outputs 'value2'
```

## Run Tests

```
npm install
npm test
```

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