1.0.0-rc.2 • Published 3 months ago

inison v1.0.0-rc.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Inison banner

Inison :pencil:

npmjs License Activity GitHub stars

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

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 || Paypal.

Install

<npm|pnpm|yarn> install inison

License

MIT

1.0.0-rc.1

3 months ago

1.0.0-rc.2

3 months ago

0.1.7

6 years ago

0.1.6

6 years ago