# json-indexify

> [![Build Status](https://travis-ci.org/prateekpronoc/json-indexify.svg?branch=master)](https://travis-ci.org/prateekpronoc/json-indexify) [![Coverage Status](https://coveralls.io/repos/github/prateekpronoc/json-indexify/badge.svg?branch=master)](https://c

Latest version **0.1.5** (published 2018-09-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install json-indexify
pnpm add json-indexify
yarn add json-indexify
bun add json-indexify
```

## 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.5 |
| Published | 2018-09-14 |
| First published | 2018-09-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Prateek Kumar Srivastava |
| Maintainers | prateek.pronoc |
| Keywords | json, indexify |

## Links

- npm: https://www.npmjs.com/package/json-indexify
- Repository: https://github.com/prateekpronoc/json-indexify
- Homepage: https://github.com/prateekpronoc/json-indexify#readme
- Issues: https://github.com/prateekpronoc/json-indexify/issues
- npm.io page: https://npm.io/package/json-indexify

## Dependencies (5)

- [chai](https://npm.io/package/chai.md) ^4.1.2
- [mocha](https://npm.io/package/mocha.md) ^5.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [istanbul](https://npm.io/package/istanbul.md) ^0.4.5
- [coveralls](https://npm.io/package/coveralls.md) ^3.0.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.5 (latest) — 2018-09-14
- 0.1.4 — 2018-09-14
- 0.1.3 — 2018-09-14
- 0.1.2 — 2018-09-14
- 0.1.1 — 2018-09-14
- 0.1.0 — 2018-09-14

## README

# json-indexify
[![Build Status](https://travis-ci.org/prateekpronoc/json-indexify.svg?branch=master)](https://travis-ci.org/prateekpronoc/json-indexify) [![Coverage Status](https://coveralls.io/repos/github/prateekpronoc/json-indexify/badge.svg?branch=master)](https://coveralls.io/github/prateekpronoc/json-indexify?branch=master)

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.

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