1.0.1 • Published 6 months ago
inison v1.0.1
Inison :pencil:
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
1.0.1
6 months ago
1.0.0
6 months ago
1.0.0-rc.3
1 year ago
1.0.0-rc.4
12 months ago
1.0.0-rc.1
1 year ago
1.0.0-rc.2
1 year ago
0.1.7
7 years ago
0.1.6
7 years ago