{"id":13512494,"url":"https://github.com/streamich/memfs","last_synced_at":"2026-04-17T00:02:10.112Z","repository":{"id":33797629,"uuid":"37490572","full_name":"streamich/memfs","owner":"streamich","description":"Node.js \"fs\" and browser \"File System API\" adapters and in-memory implementations 👍","archived":false,"fork":false,"pushed_at":"2026-03-25T10:46:19.000Z","size":16564,"stargazers_count":2052,"open_issues_count":54,"forks_count":144,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-04-12T08:30:22.000Z","etag":null,"topics":["browserfs","cas","crud","file","file-system","filesystem","fs","fsa","in-memory","memfs","memory","node","opfs","webfs"],"latest_commit_sha":null,"homepage":"http://streamich.github.io/memfs/","language":"TypeScript","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/streamich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"streamich"}},"created_at":"2015-06-15T20:50:40.000Z","updated_at":"2026-04-10T19:10:26.000Z","dependencies_parsed_at":"2024-03-16T05:29:39.683Z","dependency_job_id":"fb0f17c3-c8df-4811-a285-4389eb1181ed","html_url":"https://github.com/streamich/memfs","commit_stats":{"total_commits":1521,"total_committers":61,"mean_commits":"24.934426229508198","dds":0.6278763971071664,"last_synced_commit":"20476f3291eec1da2cd88f5f8dd4b3de5d69f5db"},"previous_names":[],"tags_count":187,"template":false,"template_full_name":null,"purl":"pkg:github/streamich/memfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fmemfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fmemfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fmemfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fmemfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamich","download_url":"https://codeload.github.com/streamich/memfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fmemfs/sbom","scorecard":{"id":854958,"data":{"date":"2025-08-11","repo":{"name":"github.com/streamich/memfs","commit":"b08d29aa5b296790df69c7cb8989eea83604d717"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/checks.yml:1","Warn: no topLevel permission defined: .github/workflows/gh-pages.yml:1","Warn: no topLevel permission defined: .github/workflows/mirror.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/checks.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/gh-pages.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mirror.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/streamich/memfs/mirror.yml/master?enable=pin","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/checks.yml:93"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (22) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T23:39:33.434Z","repository_id":33797629,"created_at":"2025-08-23T23:39:33.434Z","updated_at":"2025-08-23T23:39:33.434Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31879502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["browserfs","cas","crud","file","file-system","filesystem","fs","fsa","in-memory","memfs","memory","node","opfs","webfs"],"created_at":"2024-08-01T03:01:55.918Z","updated_at":"2026-04-17T00:02:10.070Z","avatar_url":"https://github.com/streamich.png","language":"TypeScript","readme":"# memfs\n\n[![][npm-badge]][npm-url]\n\n[npm-url]: https://www.npmjs.com/package/memfs\n[npm-badge]: https://img.shields.io/npm/v/memfs.svg\n\nJavaScript file system utilities for Node.js and browser. Implementation of in-memory [Node.js `fs` module API](https://nodejs.org/api/fs.html) and in-memory [browser File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API), as well as adapters from `fs` module to File Sytem API and from File Sytem API to `fs` module.\n\n## Install\n\n```shell\nnpm i memfs\n```\n\n## Resources\n\n- [In-memory Node.js `fs` API](./docs/node/index.md)\n- [In-memory browser File System (Access) API](./docs/fsa/fsa.md)\n- [`fs` to File System (Access) API adapter](./docs/fsa/fs-to-fsa.md)\n- [File System (Access) API to `fs` adapter](./docs/fsa/fsa-to-fs.md)\n- [Directory `snapshot` utility](./docs/snapshot/index.md)\n- [`print` directory tree to terminal](./docs/print/index.md)\n- [Code reference](https://streamich.github.io/memfs/)\n- [Test coverage](https://streamich.github.io/memfs/coverage/lcov-report/)\n\n## Demos\n\n- [Git in browser, which writes to a real folder](demo/git-fsa/README.md)\n- [Git in browser, which writes to OPFS file system](demo/git-opfs/README.md)\n- [Git on in-memory file system](demo/git/README.md)\n- [`fs` in browser, creates a `.tar` file in real folder](demo/fsa-to-node-zipfile/README.md)\n- [`fs` in browser, synchronous API, writes to real folder](demo/fsa-to-node-sync-tests/README.md)\n\n## See also\n\n- [`unionfs`][unionfs] - creates a union of multiple filesystem volumes\n- [`fs-monkey`][fs-monkey] - monkey-patches Node's `fs` module and `require` function\n- [`linkfs`][linkfs] - redirects filesystem paths\n- [`spyfs`][spyfs] - spies on filesystem actions\n\n[unionfs]: https://github.com/streamich/unionfs\n[fs-monkey]: https://github.com/streamich/fs-monkey\n[linkfs]: https://github.com/streamich/linkfs\n[spyfs]: https://github.com/streamich/spyfs\n\n## License\n\nApache 2.0\n","funding_links":["https://github.com/sponsors/streamich"],"categories":["Repository","TypeScript","node","Node"],"sub_categories":["Filesystem","文件处理"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fmemfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamich%2Fmemfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fmemfs/lists"}