0.1.5 • Published 6 years ago

json-indexify v0.1.5

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

json-indexify

Build Status Coverage Status

A small library that indexify the array of json objects

Installation

npm install json-indexify

Usage

var indexify = require('json-indexify');

var indexifiesObject = indexify([{ id: 91, value: 'India' }, { id: 1, value: 'USA' }],'id','value');

Output should be {'1': 'USA', '91': 'India'}

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago