{"id":15363150,"url":"https://github.com/techquery/fs-match","last_synced_at":"2025-04-15T09:25:16.719Z","repository":{"id":57242291,"uuid":"126631192","full_name":"TechQuery/fs-match","owner":"TechQuery","description":"A NodeJS package for finding folders, files \u0026 apps by Regular expression based on Asynchronous iteration of ES 9","archived":false,"fork":false,"pushed_at":"2024-11-25T15:02:21.000Z","size":755,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T05:49:00.065Z","etag":null,"topics":["async","command-line","filesystem","iterator","regex-match","search"],"latest_commit_sha":null,"homepage":"https://tech-query.me/fs-match/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechQuery.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":"2018-03-24T19:01:06.000Z","updated_at":"2024-11-25T15:25:13.000Z","dependencies_parsed_at":"2024-11-25T15:42:06.362Z","dependency_job_id":null,"html_url":"https://github.com/TechQuery/fs-match","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":"0.13043478260869568","last_synced_commit":"a69350bfc6d0e41b73ff4bc3eb682dd5ea91c0f5"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechQuery%2Ffs-match","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechQuery%2Ffs-match/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechQuery%2Ffs-match/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechQuery%2Ffs-match/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechQuery","download_url":"https://codeload.github.com/TechQuery/fs-match/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249041368,"owners_count":21203092,"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":["async","command-line","filesystem","iterator","regex-match","search"],"created_at":"2024-10-01T13:04:56.531Z","updated_at":"2025-04-15T09:25:16.689Z","avatar_url":"https://github.com/TechQuery.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FS match\n\nA NodeJS package for finding folders, files \u0026 apps by Regular expression based on [Asynchronous iteration of ES 9][1] \u0026 TypeScript.\n\n[![NPM Dependency](https://img.shields.io/librariesio/github/idea2app/fs-match.svg)][2]\n[![CI \u0026 CD](https://github.com/TechQuery/fs-match/actions/workflows/main.yml/badge.svg)][3]\n\n[![NPM](https://nodei.co/npm/fs-match.png?downloads=true\u0026downloadRank=true\u0026stars=true)][4]\n\n## Use in another module\n\n-   Example\n    1. [find](source/find.tsx)\n    2. [which](source/which.tsx)\n-   Document\n    -   Online: [URL][5] or `npm docs`\n    -   Offline: `npm start`\n\n## Use in Command-line shell\n\n### Search files\n\n```Shell\n# Search in current directory\n\nfs-match -r full\\.name\\.pattern\n\n# Search in a specific folder\n\nfs-match root/path -r full\\.name\\.pattern\n\n# Search first match in a specific folder\n\nfs-match root/path -r full\\.name\\.pattern -c 1\n```\n\n### Search apps\n\n```Shell\n# Show in stdout\n\napp-find chrome firefox\n\n# Append result to an ini-like file\n\napp-find chrome firefox -f .npmrc\n\n# Append result to \".env\" file in working directory (since npm@9 \u0026 fs-match@1.7)\n\napp-find chrome firefox -c\n```\n\n## Typical case\n\n1.  [Puppeteer browser](https://web-cell.dev/puppeteer-browser/)\n2.  [Hexo migrator for Web](https://tech-query.me/hexo-migrator-web/)\n\n[1]: https://javascript.info/async-iterators-generators\n[2]: https://libraries.io/npm/fs-match\n[3]: https://github.com/TechQuery/fs-match/actions/workflows/main.yml\n[4]: https://nodei.co/npm/fs-match/\n[5]: https://tech-query.me/fs-match/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechquery%2Ffs-match","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechquery%2Ffs-match","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechquery%2Ffs-match/lists"}