@f/zip-obj

1.1.1 • Public • Published

zip-obj

Build status Git tag NPM version Code style

Create an object from a list of keys and values.

Installation

$ npm install @f/zip-obj

Usage

var zipObj = require('@f/zip-obj')

zipObj([1, 2], [1, 2]) // => {1: 1, 2: 2}

API

zipObj(keys, values)

  • keys - list of keys for new object
  • values - list of values for new object

Returns: object with keys and values

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @f/zip-obj

Weekly Downloads

8

Version

1.1.1

License

MIT

Last publish

Collaborators

  • f