{"id":21977470,"url":"https://github.com/viqueen/fs-directory","last_synced_at":"2026-05-07T00:31:49.436Z","repository":{"id":57242219,"uuid":"448233897","full_name":"viqueen/fs-directory","owner":"viqueen","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-26T08:39:02.000Z","size":237,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T19:41:41.044Z","etag":null,"topics":["filesystem","library","nodejs"],"latest_commit_sha":null,"homepage":"","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/viqueen.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-15T09:28:12.000Z","updated_at":"2022-01-15T10:06:27.000Z","dependencies_parsed_at":"2024-10-23T10:36:18.597Z","dependency_job_id":"3e911264-97a8-4244-8b31-921ce57481e6","html_url":"https://github.com/viqueen/fs-directory","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"573cb87fd05b19bdea94427c4c4d1b59f998e0a9"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viqueen%2Ffs-directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viqueen%2Ffs-directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viqueen%2Ffs-directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viqueen%2Ffs-directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viqueen","download_url":"https://codeload.github.com/viqueen/fs-directory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244963325,"owners_count":20539309,"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":["filesystem","library","nodejs"],"created_at":"2024-11-29T16:15:06.497Z","updated_at":"2025-10-05T16:03:08.573Z","avatar_url":"https://github.com/viqueen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## fs-directory\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=viqueen_fs-directory\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=viqueen_fs-directory)\n[![Known Vulnerabilities](https://snyk.io/test/github/viqueen/fs-directory/badge.svg?targetFile=package.json)](https://snyk.io/test/github/viqueen/fs-directory?targetFile=package.json)\n\n---\n\n## use it\n\n```bash\nnpm install fs-directory --save\n```\n\n```javascript\nimport { listFiles } from \"fs-directory\";\n\nconst filters = {\n  fileFilter: (entry) =\u003e entry.name.endsWith(\".js\"),\n  directoryFilter: () =\u003e true,\n};\n\nconst jsFiles = listFiles(process.cwd(), filters);\nconst allFiles = listFiles(process.cwd());\n```\n\n---\n\n## develop it\n\n### environment\n\n- [NodeJS](https://nodejs.org/en/)\n- optional: [nvm](https://github.com/nvm-sh/nvm)\n\n### build it, test it, and format it\n\n```bash\nnpm run build\nnpm test\nnpm run format\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviqueen%2Ffs-directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviqueen%2Ffs-directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviqueen%2Ffs-directory/lists"}