# @cuties/json

> Cutie extension for JSON in js.

Latest version **1.1.1** (published 2019-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cuties/json
pnpm add @cuties/json
yarn add @cuties/json
bun add @cuties/json
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2019-05-11 |
| First published | 2018-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 10.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | guseyn |
| Maintainers | guseyn |
| Keywords | cutie, json |

## Links

- npm: https://www.npmjs.com/package/@cuties/json
- Repository: https://github.com/Guseyn/cutie-json
- Homepage: https://github.com/Guseyn/cutie-json#readme
- Issues: https://github.com/Guseyn/cutie-json/issues
- npm.io page: https://npm.io/package/@cuties/json

## Dependencies (5)

- [@cuties/wall](https://npm.io/package/@cuties/wall.md) ^1.1.2
- [@cuties/cutie](https://npm.io/package/@cuties/cutie.md) ^1.7.5
- [test-executor](https://npm.io/package/test-executor.md) ^1.2.4
- [@cuties/assert](https://npm.io/package/@cuties/assert.md) ^1.2.2
- [json-stringify-pretty-compact](https://npm.io/package/json-stringify-pretty-compact.md) ^1.2.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

- 1.1.1 (latest) — 2019-05-11
- 1.1.0 — 2019-02-21
- 1.0.3 — 2019-02-18
- 1.0.2 — 2019-02-18
- 1.0.1 — 2018-11-16
- 1.0.0 — 2018-10-04

## README

# cutie-json

[![NPM Version](https://img.shields.io/npm/v/@cuties/json.svg)](https://npmjs.org/package/@cuties/json)
[![Build Status](https://travis-ci.org/Guseyn/cutie-json.svg?branch=master)](https://travis-ci.org/Guseyn/cutie-json)
[![codecov](https://codecov.io/gh/Guseyn/cutie-json/branch/master/graph/badge.svg)](https://codecov.io/gh/Guseyn/cutie-json)

[Cutie](https://github.com/Guseyn/cutie) extension for <b>JSON</b> in js. It's based on the [Async Tree Pattern](https://github.com/Guseyn/async-tree-patern/blob/master/Async_Tree_Patern.pdf).

## Examples

You can find examples of using this library in the [test directory](https://github.com/Guseyn/cutie-json/tree/master/test).

## Install

`npm install @cuties/json`

## Run test

`npm test`

## Run build

`npm run build`

## Usage

```js
const {
  // Here needed async objects from the table below
} = require('@cuties/json');
```

For more information about parameters in the async objects visit [docs](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/JSON).

| Async Object  | Async/sync call | Parameters(default value/description) | Representation result |
| ------------- | ----------------| ---------- | --------------------- |
| `ParsedJSON`     | `JSON.parse` | `string` | `json` |
| `PrettyStringifiedJSON` | sync call from `json-stringify-pretty-compact` module | `json` | `string` |
| `StringifiedJSON` | `JSON.stringify` | `json` | `string` |
| `Value` | `eval('json' + '.' + path)` | `json, path` | `value` |

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