{"id":19449126,"url":"https://github.com/lafkpages/minifs","last_synced_at":"2026-06-14T08:31:37.112Z","repository":{"id":212059699,"uuid":"730607413","full_name":"lafkpages/minifs","owner":"lafkpages","description":"An in-memory filesystem-like data structure.","archived":false,"fork":false,"pushed_at":"2023-12-14T16:37:22.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-14T19:54:26.395Z","etag":null,"topics":["fs","in-memory","mini"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lafkpages.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2023-12-12T09:43:43.000Z","updated_at":"2024-08-12T18:26:17.654Z","dependencies_parsed_at":"2024-08-12T18:36:24.361Z","dependency_job_id":null,"html_url":"https://github.com/lafkpages/minifs","commit_stats":null,"previous_names":["lafkpages/minifs"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fminifs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fminifs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fminifs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fminifs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lafkpages","download_url":"https://codeload.github.com/lafkpages/minifs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636687,"owners_count":19832924,"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":["fs","in-memory","mini"],"created_at":"2024-11-10T16:30:10.447Z","updated_at":"2026-06-14T08:31:32.085Z","avatar_url":"https://github.com/lafkpages.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniFS\n\nAn in-memory filesystem-like data structure.\n\n## Installation\n\nYou can install MiniFS using npm, or your preferred package manager.\n\n```bash\nnpm i @luisafk/minifs\n```\n\n## Usage\n\n```ts\nimport { MiniFS } from \"@luisafk/minifs\";\n\nconst fs = new MiniFS();\n\nfs.writeFile(\"foo/bar.txt\", \"Hello, World\"); // true\n\nfs.readDirectory(\"foo\"); // [\"bar.txt\"]\nfs.readFile(\"foo/bar.txt\"); // \"Hello, World\"\n```\n\n## Development\n\nFirst, clone the repository and install the dependencies.\n\n```bash\ngit clone https://github.com/lafkpages/minifs.git\ncd minifs\nbun install\n```\n\nThen, configure Git hooks.\n\n```bash\ngit config core.hooksPath .githooks\n```\n\n### Running tests\n\nTests are automatically run before every commit. You can also run them manually:\n\n```bash\nbun test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flafkpages%2Fminifs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flafkpages%2Fminifs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flafkpages%2Fminifs/lists"}