# stringify-json

> JSON.stringify but handles Map

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

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

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-07-06 |
| First published | 2016-02-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.5.0 |
| Dependencies | 1 |
| Unpacked size | 167.3 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/stringify-json
- Repository: https://github.com/christophehurpeau/stringify-json
- Homepage: https://github.com/christophehurpeau/stringify-json#readme
- Issues: https://github.com/christophehurpeau/stringify-json/issues
- npm.io page: https://npm.io/package/stringify-json

## Dependencies (1)

- [map2object](https://npm.io/package/map2object.md) ^1.0.0

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

- 2.0.0 (latest) — 2018-07-06
- 1.0.0 — 2016-02-27

## README

<h3 align="center">
  stringify-json
</h3>

<p align="center">
  JSON.stringify but handles Map
</p>

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

## Quick example

```js
var stringify = require('stringify-json');
console.log(stringify(new Map([['key', 'value']]);
```

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