{"id":22286936,"url":"https://github.com/koraa/simplekv","last_synced_at":"2025-03-25T20:45:31.412Z","repository":{"id":3673031,"uuid":"4742327","full_name":"koraa/SimpleKV","owner":"koraa","description":"Simplekv is a humen-readable text-based file format for exchageing simple Key/Value pairs ","archived":false,"fork":false,"pushed_at":"2018-11-27T12:17:33.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T18:22:31.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koraa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-21T17:47:06.000Z","updated_at":"2018-11-27T12:17:35.000Z","dependencies_parsed_at":"2022-08-19T01:00:21.678Z","dependency_job_id":null,"html_url":"https://github.com/koraa/SimpleKV","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koraa%2FSimpleKV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koraa%2FSimpleKV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koraa%2FSimpleKV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koraa%2FSimpleKV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koraa","download_url":"https://codeload.github.com/koraa/SimpleKV/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245542778,"owners_count":20632565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T16:58:41.519Z","updated_at":"2025-03-25T20:45:31.383Z","avatar_url":"https://github.com/koraa.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"SimpleKV\n========\n\nPreamble\n--------\n\nThis File contains the specification of the simplekv format.\nThe Purpose of the simplekv format is to save a number of key-value pairs.\nThe simplekv does not provide support for structs, dicts or arrays,\nit does however provide the support for multiassignments.\n\nDefinition\n----------\n\n### Organization:\n\n- Each line contains one Key/value pair\n- Long lines cannot be escaped\n\n### The K/V Pairs:\n\n- The structure of each key value pair is as follows:\n\n            KEY SEPERATOR VALUE\n\n- The key must be the first entity in the line (besides whitespaces)\n- The key must match those expressions: \n  (This means it can contain any characters \n  besides any whitespace characters and a clolon)\n\n            /^\\S*$/ AND /^[^:]*$/\n\n- The Value can contain any characters besides a linebreak (anything that starts a new line)\n- The divider is defined as follows:\n    - It may contain any number of whitespace (\\s) characters (besides a newline)\n    - It may contain up to two colons\n    - The first character of the seperator is the first character that \n      can not be part of the key (any whitespace or a colon)\n    - The colon is used to end-mark the seperator, if it is not the first character used\n    - If no colon is used to determine the end, the first character of the value \n      is the first character that can not be part of the seperator (anything but a colon and a whitespace)\n\n### Arrays/Multiassignments:\n\n- Simplekv provides support for multiassignments. This is simply reuse of a key.\n  In libraries this feature should be implemented as a conversion to an array.\n\n### Comments:\n\n- A comment is indicated by a '#' character as the first character (besides whitespace characters) in a line\n- In case of a comment the entire line is skipped\n\n### As Header:\n\nSimplekv can also be used as a header language, in which case a sequence of 4 empty lines will be used as a seperator.\n\nExamples\n--------\n\nThese all express the same:\n\n    foo 42\n    foo:42\n    foo::42\n    foo  42\n    foo    42\n    foo:   42\n    foo   :42\n    foo:  :42\n    foo 42\n\nSpecial cases:\n\n    'fuu' ' bar'  =\u003e fuu : bar\n    'fuu' ':bar'  =\u003e fuu ::bar\n    'fuu' ': bar' =\u003e fuu :: bar\n\n\nBad things to do (this is basicly not using the colons as start or endmarkers)\n\n    fuu :: bar =\u003e 'fuu' ': bar'\n    fuu:: bar  =\u003e 'fuu' ': bar'\n\nLicense/Copying\n---------------\n\nSimpleKV - The Simple Key-Value format\n\nWritten in 2012 by Karolin Varner karo@cupdev.net\n\nThe Project SimpleKV includes this file and any related content and in particular the software libraries and the SimpleKV specification bundled with this project.\nThis file is part of SimpleKV.\n\nTo the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to SimpleKV to the public domain worldwide.  is distributed without any warranty.\nYou should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see \u003chttp://creativecommons.org/publicdomain/zero/1.0/\u003e.\n\n-----------------------------------------------------------\n\nJavascript Lib\n==============\n\nThe JS library requires Coffescript and Node.js to run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoraa%2Fsimplekv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoraa%2Fsimplekv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoraa%2Fsimplekv/lists"}