inicontent / inison

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inison banner

Inison πŸ“

npmjs License Activity GitHub stars

An alternative to JSON, aiming to reduce disk usage by storing decoded data and eliminating double-quotes πŸ”₯

Features

  • Lightweight πŸͺΆ
  • Minimalist βšͺ (but powerful)
  • TypeScript πŸ”·
  • Super-Fast ⚑
  • Suitable for large data πŸ“ƒ
  • Support Compression ✳️
  • Safe πŸ”’
  • Easy to use 🍞
  • ... and much more πŸš€

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

About

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

License:MIT License


Languages

Language:TypeScript 100.0%