{"id":18262873,"url":"https://github.com/midwayjs/glob","last_synced_at":"2025-04-04T20:30:57.563Z","repository":{"id":45242165,"uuid":"272597747","full_name":"midwayjs/glob","owner":"midwayjs","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-09T06:16:50.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-24T01:21:28.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/midwayjs.png","metadata":{"files":{"readme":"README.md","changelog":"History.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}},"created_at":"2020-06-16T03:10:00.000Z","updated_at":"2022-11-17T15:24:33.000Z","dependencies_parsed_at":"2024-01-23T21:20:32.606Z","dependency_job_id":"229c7671-64a4-4281-a5bb-e4bc385b0082","html_url":"https://github.com/midwayjs/glob","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fglob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fglob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fglob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fglob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/midwayjs","download_url":"https://codeload.github.com/midwayjs/glob/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247246198,"owners_count":20907751,"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-11-05T11:09:06.118Z","updated_at":"2025-04-04T20:30:54.743Z","avatar_url":"https://github.com/midwayjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# midway easy glob tools\n\n实现一个基础轻量的 globby，为了兼容 faas-glob 语法，引入纯 js 版的 picomatch 库，除此之外，无其他依赖。\n\n## API\n\n```ts\nimport { run } from '@midwayjs/glob';\n\nconst result = run(['**/*.md'], {\n  cwd: join(__dirname, './fixtures/first'),\n  ignore: [\n    '**/c.md',\n    '**/bbbb/**'\n  ]\n});\nconsole.log(result); // Output: [ '/Users/harry/project/glob/test/fixtures/first/a.md' ]\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidwayjs%2Fglob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmidwayjs%2Fglob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidwayjs%2Fglob/lists"}