{"id":30180936,"url":"https://github.com/streamich/webfs.js","last_synced_at":"2026-03-11T05:31:45.863Z","repository":{"id":307806401,"uuid":"1030785373","full_name":"streamich/webfs.js","owner":"streamich","description":"Node `fs` API in browser on top of OPFS","archived":false,"fork":false,"pushed_at":"2025-09-05T12:03:42.000Z","size":1031,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T07:34:16.175Z","etag":null,"topics":[],"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/streamich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"streamich"}},"created_at":"2025-08-02T10:15:59.000Z","updated_at":"2025-08-04T11:10:13.000Z","dependencies_parsed_at":"2025-08-02T11:02:41.520Z","dependency_job_id":"3286ed05-c9fc-4637-8481-7da054599b62","html_url":"https://github.com/streamich/webfs.js","commit_stats":null,"previous_names":["streamich/webfs.js"],"tags_count":2,"template":false,"template_full_name":"streamich/template-js-library","purl":"pkg:github/streamich/webfs.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fwebfs.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fwebfs.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fwebfs.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fwebfs.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamich","download_url":"https://codeload.github.com/streamich/webfs.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fwebfs.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":"2025-08-12T08:06:09.756Z","updated_at":"2026-03-11T05:31:45.847Z","avatar_url":"https://github.com/streamich.png","language":"JavaScript","funding_links":["https://github.com/sponsors/streamich"],"categories":[],"sub_categories":[],"readme":"# webfs.js\n\nNode.js `fs` API in browser on top of OPFS (Origin Private File System).\n\nThis TypeScript library provides a familiar Node.js filesystem interface for browser environments using the Origin Private File System API.\n\n## Usage\n\nSimply load `webfs.js` in your browser environment:\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/webfs.js/dist/index.js\"\u003e\u003c/script\u003e\n```\n\nand then you will have access to the `fs` object that mimics Node.js `fs` API:\n\n```javascript\nconst fs = window.fs;\nfs.writeFile('/path/to/file.txt', 'Hello, World!')\n  .then(() =\u003e {\n    console.log('File written successfully');\n  })\n  .catch((err) =\u003e {\n    console.error('Error writing file:', err);\n  });\n```\n\n[See live demo](https://jsfiddle.net/mos4ua9d/2/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fwebfs.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamich%2Fwebfs.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fwebfs.js/lists"}