cookiedb / CookieDB

A byte sized database for everyone
https://deno.land/x/cookiedb
MIT License
8 stars 2 forks source link

Why .ck format? #29

Open Disti4ct opened 1 year ago

Disti4ct commented 1 year ago

Sorry if I missed smth in docs. But why a .ck file format?)

lino-levan commented 1 year ago

Good question, the actual format for the file for storage isn't standardized yet. It will be for the 1.0.0 release. At the moment it is actually just messagepack. The current bleeding edge has actually been reverted to json. I am currently thinking about choosing bson over messagepack to remove the limitation we currently have for number of document.

TLDR; .ck is a placeholder file-type for what will eventually be a custom binary encoding of JSON-like objects.