{"repo":"nodesocket/jsonlite","free":true,"listed":false,"github":"https://github.com/nodesocket/jsonlite","clone":"git clone https://github.com/nodesocket/jsonlite.git","description":"A simple, self-contained, serverless, zero-configuration, json document store.","language":"Shell","stars":843,"topics":["bash","jsonlite","database","json-document","json","document-store","json-data","document-database","databases","bash-script"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"JSONlite A simple, self-contained, serverless, zero-configuration, json document store. JSONlite sandboxes the current working directory similar to SQLite. The JSONlite data directory by default is named jsonlite.data and each json document is validated and saved pretty printed as a uuid. Requirements 1. bash 2. uuidgen 3. python -m json.tool - Alternatively, install yajl for json reformat or jq to get a significant performance improvement setting documents. json reformat is the fastest of the three by far. jq comes in second and python -m json.tool is the slowest. If possible, avoid using python -m json.tool . Benchmark tests/set 1k.bash: # MacBook Pro 16\" M1 Max json reformat: 6s jq: 19s python -m json.tool: 28s Installation or grab the latest release source code. Configuration You may optionally set the path to the data directory. It defaults to $PWD/jsonlite.data but can manually be set with the JSONLITE DATA DIR environment variable. API/Commands set set \\ - Writes a json document and returns the document id set also supports piping into it: and reading from a file: get get \\ - Retrieves a json document by document id count count - Total number of json documents in the database delete delete \\ - Deletes a json document by document id drop drop (--force) - Drops the database help help - Displays help version version - Displays the current version default default - Displays the current version, configuration, and help Changelog https://github.com/nodesocket/jsonlite/blob/m","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodesocket","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodesocket/jsonlite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}