Skip to content

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

License

Notifications You must be signed in to change notification settings

inicontent/inison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published