{"id":23799368,"url":"https://github.com/zen-fs/emscripten","last_synced_at":"2025-10-29T15:24:49.530Z","repository":{"id":231176000,"uuid":"781136600","full_name":"zen-fs/emscripten","owner":"zen-fs","description":"Emscripten backend for ZenFS","archived":false,"fork":false,"pushed_at":"2024-05-22T14:03:28.000Z","size":82,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T14:05:11.715Z","etag":null,"topics":["browserfs","zenfs"],"latest_commit_sha":null,"homepage":"https://zen-fs.github.io/emscripten/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zen-fs.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2024-04-02T20:19:00.000Z","updated_at":"2024-05-29T20:26:52.978Z","dependencies_parsed_at":"2024-04-19T23:38:30.221Z","dependency_job_id":"d156b39f-845c-4512-8d39-091d2fcbf338","html_url":"https://github.com/zen-fs/emscripten","commit_stats":null,"previous_names":["zen-fs/emscripten"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-fs%2Femscripten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-fs%2Femscripten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-fs%2Femscripten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-fs%2Femscripten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zen-fs","download_url":"https://codeload.github.com/zen-fs/emscripten/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543305,"owners_count":21121831,"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":["browserfs","zenfs"],"created_at":"2025-01-01T21:16:03.437Z","updated_at":"2025-10-29T15:24:49.524Z","avatar_url":"https://github.com/zen-fs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZenFS Emscripten Backend\n\n[ZenFS](https://github.com/zen-fs/core) backend for usage with Emscripten.\n\nFor more information, see the [docs](https://zen-fs.github.io/emscripten).\n\nPlease read the ZenFS core documentation!\n\n## Installing\n\n\u003e [!IMPORTANT]\n\u003e This project is licensed under the LGPL (v3+).\n\n```sh\nnpm install @zenfs/emscripten\n```\n\n## Usage\n\n```ts\nimport { configure, fs } from '@zenfs/core';\nimport { Emscripten } from '@zenfs/emscripten';\n\n// Note: this assumes you have included Emscripten correctly and have the global `FS` variable available.\nawait configureSingle({ backend: Emscripten, FS: FS });\n\nif (!fs.existsSync('/test.txt')) {\n\tfs.writeFileSync('/test.txt', 'This is in the Emscripten file system!');\n}\n\nconst contents = fs.readFileSync('/test.txt', 'utf-8');\nconsole.log(contents);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzen-fs%2Femscripten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzen-fs%2Femscripten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzen-fs%2Femscripten/lists"}