{"id":18700486,"url":"https://github.com/eugeneware/livelydb","last_synced_at":"2025-09-25T17:44:31.991Z","repository":{"id":12833247,"uuid":"15508658","full_name":"eugeneware/livelydb","owner":"eugeneware","description":"Abstract base class for Lively live-streaming database implementations.","archived":false,"fork":false,"pushed_at":"2013-12-29T13:30:26.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T06:16:05.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eugeneware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-29T13:13:22.000Z","updated_at":"2013-12-29T13:30:29.000Z","dependencies_parsed_at":"2022-09-07T17:51:19.198Z","dependency_job_id":null,"html_url":"https://github.com/eugeneware/livelydb","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/eugeneware%2Flivelydb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeneware%2Flivelydb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeneware%2Flivelydb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeneware%2Flivelydb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugeneware","download_url":"https://codeload.github.com/eugeneware/livelydb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565654,"owners_count":19660154,"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-11-07T11:37:30.663Z","updated_at":"2025-09-25T17:44:26.930Z","avatar_url":"https://github.com/eugeneware.png","language":"JavaScript","funding_links":[],"categories":["Legacy"],"sub_categories":["[`level-lively`][level-lively]"],"readme":"# livelydb\n\nAbstract base class for Lively live-streaming database implementations.\n\n[![build status](https://secure.travis-ci.org/eugeneware/livelydb.png)](http://travis-ci.org/eugeneware/livelydb)\n\n## Installation\n\nThis module is installed via npm:\n\n``` bash\n$ npm install livelydb\n```\n\n## Description\n\nThis is a base class that gets extended by database implementations that wish\nto be able to synchronize a remote database with a local javascript object\nusing the Lively framework.\n\nFor an example, check out [MemLively](https://github.com/eugeneware/memlively).\n\nThe intention is for implementations of [levelup](https://github.com/rvagg/node-levelup)\nand even SQL-based servers to be able to synchronize their data live, in\nreal-time to a local javascript object in both directions.\n\n## API\n\n### LivelyDb()\n\nConstructor.\n\n### livelydb.get(key, callback)\n\nRetrieve the object stored in the database pointed to by the key.\n\nThe callback will be called with an error, and the data as the second argument.\n\n### livelydb.put(key, value, callback)\n\nPuts the object ```value``` into the database, referenced by the key ```key```.\n\n### livelydb.del(key, callback)\n\nDelets the object from the database, referenced by the key ```key```.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugeneware%2Flivelydb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugeneware%2Flivelydb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugeneware%2Flivelydb/lists"}