Smaki JSON
Interact with json object like a database
Installation
$ npm install smaki
Basic usage
var Smaki = ; var json = "a": 1 "b": 2; var smaki = json;
API
Compress
Compress and minify the json:
smaki;// => a|b^1|2^^$0|2|1|3]
Uncompress
Uncompress a minified json:
smaki;
Get
Get value:
smaki;
Get Objects
Get objects:
smaki;
Get Paths
Get paths:
smaki;
Get Values
Get values:
smaki;
Get Keys
Get keys:
smaki;
Delete
Delete objects:
smaki;
Update
Update objects:
smaki;
License
MIT
Marcos Sanz Latorre copyright 2116 marcos.sanz@13genius.com