# inison

> An alternative to JSON, aiming to reduce disk usage by storing decoded data and eliminating double-quotes

Latest version **2.0.1** (published 2025-04-19) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2025-04-19 |
| First published | 2024-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Karim Amahtil |
| Maintainers | inicontent |
| Keywords | json, cson, hocon, bson, avro, messagepack, protobuf, json5, jsonc, xml, yaml |

## Links

- npm: https://www.npmjs.com/package/inison
- Repository: https://github.com/inicontent/inison
- Homepage: https://github.com/inicontent/inison#readme
- Issues: https://github.com/inicontent/inison/issues
- Funding: https://github.com/sponsors/inicontent
- npm.io page: https://npm.io/package/inison

## 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.1 (latest) — 2025-04-19
- 2.0.0 — 2025-04-19
- 1.0.1 — 2024-12-31
- 1.0.0 — 2024-12-30
- 1.0.0-rc.4 — 2024-07-02
- 1.0.0-rc.3 — 2024-06-30
- 1.0.0-rc.2 — 2024-02-06
- 1.0.0-rc.1 — 2024-02-06

## README

[![Inison banner](./.github/assets/banner.jpg)](https://github.com/inicontent/inison)

# Inison :pencil:

[![npmjs](https://img.shields.io/npm/dm/inison.svg?style=flat)](https://www.npmjs.org/package/inison) [![License](https://img.shields.io/github/license/inicontent/inison.svg?style=flat&colorA=18181B&colorB=28CF8D)](./LICENSE) [![Activity](https://img.shields.io/github/commit-activity/m/inicontent/inison)](https://github.com/inicontent/inison/pulse) [![GitHub stars](https://img.shields.io/github/stars/inicontent/inison?style=social)](https://github.com/inicontent/inison)

> An alternative to JSON, aiming to reduce disk usage by storing decoded data and eliminating double-quotes :fire:

## Features

- **Lightweight** 🪶
- **Minimalist** :white_circle: (but powerful)
- **TypeScript** :large_blue_diamond:
- **Super-Fast** :zap:
- **Suitable for large data** :page_with_curl:
- **Support Compression** :eight_spoked_asterisk:
- **Safe** :lock:
- **Easy to use** :bread:
- **...** and much more :rocket:

## Usage

```js
import Inison from "inison";
const myObj = {
  name: "Jo,hn",
  age: 21,
  city: "New York",
  hobbies: ["Reading", "Tra[veling", ["test", "test2", { test: true }]],
};

// Stringify the object
const stringifiedObj = Inison.stringify(myObj);
// {name:Jo\,hn,age:21,city:New York,hobbies:[Reading,Tra\veking,[test,test2,{test:true}]]}

// Unstringify the stringified object
const unstringifiedObj = Inison.unstringify(stringifiedObj);
```

If you like Inison, please sponsor: [GitHub Sponsors](https://github.com/sponsors/inicontent) || [Paypal](https://paypal.me/KarimAmahtil).

## Install

```js
<npm|pnpm|yarn> install inison
```

## License

[MIT](./LICENSE)

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