{"id":24379693,"url":"https://github.com/y-js/y-memory","last_synced_at":"2025-04-10T21:09:47.450Z","repository":{"id":57402680,"uuid":"45759582","full_name":"y-js/y-memory","owner":"y-js","description":"Memory database adapter for Yjs","archived":false,"fork":false,"pushed_at":"2017-07-06T13:25:14.000Z","size":570,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T21:09:39.914Z","etag":null,"topics":["yjs","yjs-database"],"latest_commit_sha":null,"homepage":"","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/y-js.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":"2015-11-07T23:45:00.000Z","updated_at":"2021-04-19T21:38:50.000Z","dependencies_parsed_at":"2022-09-22T07:55:33.548Z","dependency_job_id":null,"html_url":"https://github.com/y-js/y-memory","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-js%2Fy-memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-js%2Fy-memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-js%2Fy-memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-js%2Fy-memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/y-js","download_url":"https://codeload.github.com/y-js/y-memory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298331,"owners_count":21080320,"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":["yjs","yjs-database"],"created_at":"2025-01-19T07:18:46.930Z","updated_at":"2025-04-10T21:09:47.434Z","avatar_url":"https://github.com/y-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# In-Memory database adapter for [Yjs](https://github.com/y-js/yjs)\n\nUse the Memory database adapter to store your shared data efficiently in-memory. The next time you join the session, your changes will be lost\n\n* Supported by all browsers\n* Very fast access\n\n## Use it!\nInstall this with bower or npm.\n\n##### Bower\n```\nbower install y-memory --save\n```\n\n##### NPM\n```\nnpm install y-memory --save\n```\n\n### Example\n\n```\nY({\n  db: {\n    name: 'memory'\n  },\n  connector: {\n    name: 'websockets-client', // use the websockets connector\n    room: 'Textarea-example-dev'\n  },\n  share: {\n    textarea: 'Text' // y.share.textarea is of type Y.Text\n  }\n}).then(function (y) {\n  // bind the textarea to a shared text element\n  y.share.textarea.bind(document.getElementById('textfield'))\n}\n```\n\n## License\nYjs is licensed under the [MIT License](./LICENSE).\n\n\u003ckevin.jahns@rwth-aachen.de\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy-js%2Fy-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fy-js%2Fy-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy-js%2Fy-memory/lists"}