# parse-json-object-as-map

> JSON.parse but returns Map instead of Object

Latest version **1.2.0** (published 2018-07-06) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install parse-json-object-as-map
pnpm add parse-json-object-as-map
yarn add parse-json-object-as-map
bun add parse-json-object-as-map
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-07-06 |
| First published | 2015-08-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.5.0 |
| Dependencies | 0 |
| Unpacked size | 168.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Christophe Hurpeau |
| Maintainers | churpeau |
| Keywords | JSON.parse, map |

## Links

- npm: https://www.npmjs.com/package/parse-json-object-as-map
- Repository: https://github.com/christophehurpeau/parse-json-object-as-map
- Homepage: https://github.com/christophehurpeau/parse-json-object-as-map#readme
- Issues: https://github.com/christophehurpeau/parse-json-object-as-map/issues
- npm.io page: https://npm.io/package/parse-json-object-as-map

## 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

- 1.2.0 (latest) — 2018-07-06
- 1.1.0 — 2018-05-11
- 1.0.2 — 2016-08-13
- 1.0.1 — 2015-10-24
- 1.0.0 — 2015-08-30

## README

<h3 align="center">
  parse-json-object-as-map
</h3>

<p align="center">
  JSON.parse but returns Map instead of Object
</p>

<p align="center">
  <a href="https://npmjs.org/package/parse-json-object-as-map"><img src="https://img.shields.io/npm/v/parse-json-object-as-map.svg?style=flat-square"></a>
  <a href="https://circleci.com/gh/christophehurpeau/parse-json-object-as-map"><img src="https://img.shields.io/circleci/project/christophehurpeau/parse-json-object-as-map/master.svg?style=flat-square"></a>
  <a href="https://david-dm.org/christophehurpeau/parse-json-object-as-map"><img src="https://david-dm.org/christophehurpeau/parse-json-object-as-map.svg?style=flat-square"></a>
  <a href="https://dependencyci.com/github/christophehurpeau/parse-json-object-as-map"><img src="https://dependencyci.com/github/christophehurpeau/parse-json-object-as-map/badge?style=flat-square"></a>
  <a href="https://codecov.io/gh/christophehurpeau/parse-json-object-as-map"><img src="https://img.shields.io/codecov/c/github/christophehurpeau/parse-json-object-as-map/master.svg?style=flat-square"></a>
</p>

## Quick example

```js
var parseJSON = require('parse-json-object-as-map');
console.log(parseJSON('{"test": true }'))
```

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