{"id":21162553,"url":"https://github.com/josepedrodias/logger","last_synced_at":"2025-03-14T16:14:34.291Z","repository":{"id":144777269,"uuid":"134446835","full_name":"JosePedroDias/logger","owner":"JosePedroDias","description":"memory key value store for remote debugging","archived":false,"fork":false,"pushed_at":"2019-04-15T12:47:18.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T09:48:26.697Z","etag":null,"topics":["debug","javascript","key-value-store","kiss","remote-debug"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JosePedroDias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-22T16:52:54.000Z","updated_at":"2019-04-15T12:47:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"febf883c-6ec1-4ab1-a563-1c8f07c07b2f","html_url":"https://github.com/JosePedroDias/logger","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/JosePedroDias%2Flogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosePedroDias%2Flogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosePedroDias%2Flogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosePedroDias%2Flogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JosePedroDias","download_url":"https://codeload.github.com/JosePedroDias/logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243606960,"owners_count":20318314,"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":["debug","javascript","key-value-store","kiss","remote-debug"],"created_at":"2024-11-20T13:30:51.151Z","updated_at":"2025-03-14T16:14:34.267Z","avatar_url":"https://github.com/JosePedroDias.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logger\n\nbasic key value store without auth. has a getter and setter for different keys and a wait which will long poll for changes on root.\n\nthe server is a very basic express server (which also serves the client code for convenience).\n\n## server endpoints\n\n`GET /:key?` - returns the value of the whole store or just for a given key\n\n`POST /:key` (JSON body is the value to set) - sets the value for the key\n\n`GET /wait/:key?` - returns once key changes (if provided) or any key changes (of no key is passed)\n\n`GET /client.js` - the browser client is served here for convenience\n\n## client JS API\n\nimport the client via script tag or module.\n\n```javascript\nconst L = logger('http://127.0.0.1:3000');\n\nL.set(k, v).then(noop);\n\nL.get(k).then((o) =\u003e console.log(o));\n\nL.onChange(onDataCb, onErrorCb, optionalKey);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosepedrodias%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosepedrodias%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosepedrodias%2Flogger/lists"}