inison
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.2 • Public • Published

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

Package Sidebar

Install

npm i inison

Weekly Downloads

2

Version

1.0.0-rc.2

License

MIT

Unpacked Size

8.72 kB

Total Files

5

Last publish

Collaborators

  • inicontent