{"id":20564618,"url":"https://github.com/yjs/ywasm","last_synced_at":"2025-08-02T02:12:34.453Z","repository":{"id":66186583,"uuid":"304748942","full_name":"yjs/Ywasm","owner":"yjs","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-14T15:22:01.000Z","size":63,"stargazers_count":38,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-02T06:03:05.301Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"dmonad","patreon":null,"open_collective":"y-collective","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-10-16T22:13:04.000Z","updated_at":"2025-05-17T07:45:30.000Z","dependencies_parsed_at":"2023-02-21T17:00:20.431Z","dependency_job_id":null,"html_url":"https://github.com/yjs/Ywasm","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"693ce29c9fff46577178e39fd487c7a4c3058584"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjs/Ywasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjs","download_url":"https://codeload.github.com/yjs/Ywasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326739,"owners_count":24232496,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-16T04:28:10.845Z","updated_at":"2025-08-02T02:12:34.424Z","avatar_url":"https://github.com/yjs.png","language":"JavaScript","readme":"# Ywasm\n\n\u003e Wasm bindings of the [Yrs](https://github.com/yjs/yrs/) CRDT\n\n### 🛠️ Build with `wasm-pack build`\n\n```sh\nwasm-pack build\n```\n\nThen open the demo application:\n\n```sh\ncd www\nnpm i\nnpm start\n```\n\n### 🔬 Test in Headless Browsers with `wasm-pack test`\n\n```sh\nwasm-pack test --headless --firefox\n```\n\n### 🎁 Publish to NPM with `wasm-pack publish`\n\n```sh\nwasm-pack publish\n```\n\n### Advantages over Yjs\n\n\n* Manual garbage collection. I.e. doesn't track every character as a separate object.\n* Uses wee_alloc as a minimal memory management library.\n* Small bundle size.\n\n\n### Todo\n\n* Switch to monorepo.\n* Reimplement classes from Yrs to export information custom to the web.\n\n","funding_links":["https://github.com/sponsors/dmonad","https://opencollective.com/y-collective"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjs%2Fywasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjs%2Fywasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjs%2Fywasm/lists"}