{"id":13508840,"url":"https://github.com/webpack/memory-fs","last_synced_at":"2026-01-10T17:04:10.486Z","repository":{"id":18233512,"uuid":"21377503","full_name":"webpack/memory-fs","owner":"webpack","description":"[DEPRECATED use memfs instead] A simple in-memory filesystem. Holds data in a javascript object.","archived":true,"fork":false,"pushed_at":"2023-07-12T03:11:19.000Z","size":195,"stargazers_count":882,"open_issues_count":30,"forks_count":76,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-01-27T21:39:40.237Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webpack.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,"governance":null}},"created_at":"2014-07-01T06:32:53.000Z","updated_at":"2024-12-23T12:01:42.000Z","dependencies_parsed_at":"2022-09-05T17:00:23.916Z","dependency_job_id":null,"html_url":"https://github.com/webpack/memory-fs","commit_stats":{"total_commits":56,"total_committers":18,"mean_commits":3.111111111111111,"dds":0.7142857142857143,"last_synced_commit":"70fff592f872559146749f12d0e6e8e62510a2dc"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpack%2Fmemory-fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpack%2Fmemory-fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpack%2Fmemory-fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpack%2Fmemory-fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webpack","download_url":"https://codeload.github.com/webpack/memory-fs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237116447,"owners_count":19258255,"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":[],"created_at":"2024-08-01T02:00:59.257Z","updated_at":"2025-10-19T11:30:25.545Z","avatar_url":"https://github.com/webpack.png","language":"JavaScript","readme":"# memory-fs\n\n\u003e DEPRECATED: use [memfs](https://github.com/streamich/memfs) instead.\n\nA simple in-memory filesystem. Holds data in a javascript object.\n\n``` javascript\nvar MemoryFileSystem = require(\"memory-fs\");\nvar fs = new MemoryFileSystem(); // Optionally pass a javascript object\n\nfs.mkdirpSync(\"/a/test/dir\");\nfs.writeFileSync(\"/a/test/dir/file.txt\", \"Hello World\");\nfs.readFileSync(\"/a/test/dir/file.txt\"); // returns Buffer(\"Hello World\")\n\n// Async variants too\nfs.unlink(\"/a/test/dir/file.txt\", function(err) {\n\t// ...\n});\n\nfs.readdirSync(\"/a/test\"); // returns [\"dir\"]\nfs.statSync(\"/a/test/dir\").isDirectory(); // returns true\nfs.rmdirSync(\"/a/test/dir\");\n\nfs.mkdirpSync(\"C:\\\\use\\\\windows\\\\style\\\\paths\");\n```\n\n## License\n\nCopyright (c) 2012-2014 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpack%2Fmemory-fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebpack%2Fmemory-fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpack%2Fmemory-fs/lists"}