@f/zip-obj

Create an object from a list of keys and values.

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/zip-obj
001.1.16 years ago6 years agoMinified + gzip package size for @f/zip-obj in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.