# jsonit

> Simplified JSONIC which is a JSON parser that isn't strict

Latest version **0.1.2** (published 2015-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install jsonit
pnpm add jsonit
yarn add jsonit
bun add jsonit
```

Provides the command `jsonit`.

## 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.2 |
| Published | 2015-05-11 |
| First published | 2015-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | yieme |
| Maintainers | yieme |
| Keywords | json, jsonic, parser |

## Links

- npm: https://www.npmjs.com/package/jsonit
- Repository: https://github.com/yieme/jsonit
- Issues: https://github.com/yieme/jsonit/issues
- npm.io page: https://npm.io/package/jsonit

## Dependencies (1)

- [jsonic](https://npm.io/package/jsonic.md) ^0.1.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.2 (latest) — 2015-05-11
- 0.1.1 — 2015-05-10
- 0.1.0 — 2015-05-10

## README

# JsonIt

Simplified JSONIC which is a JSON parser that isn't strict

<!-- [![build status](https://secure.travis-ci.org/yieme/jsonit.png)](http://travis-ci.org/yieme/jsonit) -->

## Installation

This module is installed via npm:

```sh
npm i jsonit --save
```

For Command Line Interface:

```sh
npm i jsonit -g
```

## Examples

```js
var jsonit = require('jsonit')
jsonit('ok')              // { "op": "ok" }
jsonit('ok', 'you')       // { "you": "ok" }
jsonit('say,hello:world') // { "op": "say", "hello": "world" }
```

## Change the default type of the inital assigned parameter

```js
jsonit('ok', 'OneTime', 'DefaultType') // { "OneTime": "ok" }
jsonit('ok')                           // { "DefaultType": "ok" }
jsonit('ok', null, 'NewType')          // { "NewType": "ok" }
```

## Command Line Interface Examples

```sh
jsonit --help
```

```
Simplified JSONIC which is a JSON parser that isn't strict - v0.1.0
Usage: jsonit JsonItString [type] [--pretty]
Examples:
jsonit ok
{ "op": "ok" }

jsonit hello say
{ "say": "hello" }

jsonit say,hello:world --pretty
{
  "op": "say",
  "hello": "world"
}
```


## Rights

Copyright (C) 2015 by Yieme, License: MIT

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