{"id":16948624,"url":"https://github.com/technicalpickles/glob-test","last_synced_at":"2026-04-29T04:38:57.660Z","repository":{"id":218308002,"uuid":"630459102","full_name":"technicalpickles/glob-test","owner":"technicalpickles","description":"Test globs across different languages and libraries","archived":false,"fork":false,"pushed_at":"2023-04-20T21:27:33.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-20T19:15:07.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technicalpickles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-04-20T12:31:07.000Z","updated_at":"2023-04-22T11:25:59.000Z","dependencies_parsed_at":"2024-01-21T04:57:44.872Z","dependency_job_id":null,"html_url":"https://github.com/technicalpickles/glob-test","commit_stats":null,"previous_names":["technicalpickles/glob-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/technicalpickles/glob-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fglob-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fglob-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fglob-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fglob-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technicalpickles","download_url":"https://codeload.github.com/technicalpickles/glob-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fglob-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261397372,"owners_count":23152488,"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-10-13T21:51:41.366Z","updated_at":"2026-04-29T04:38:52.619Z","avatar_url":"https://github.com/technicalpickles.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glob test\n\nCheck globs against different languages and libraries!\n\nDifferent projects use different languages and/or glob implementations. I originally wrote this to help me test converting javascript regex to globs for use in [lefthook](https://github.com/evilmartians/lefthook). Maybe you'll find it useful?\n\n\n## ruby\n\nUsing stdlib:\n\n```\n❯ ruby ruby/glob.rb \"**/*.rb\" \"glob.rb\"\n\"foo.rb\" matches \"**/*.rb\"\n\n❯ ruby ruby/glob.rb \"**/*.rb\" \"foo.py\"\n\"foo.py\" does not match \"**/*.rb\"\n```\n\n## go\n\nUsing [gobwas/glob](https://github.com/gobwas/glob):\n\n```\n❯ go run go/glob.go \"**/*.rb\" \"glob.rb\"\n\"glob.rb\" does not match \"**/*.rb\"\n\n❯ go run go/glob.go \"**/*.rb\" \"foo.py\"\n\"foo.py\" does not match \"**/*.rb\"\n```\n\n## node\n\nUsing [isaacs/minimatch](https://github.com/isaacs/minimatch)\n\n```\n❯ npm install\n\n❯ node node/glob.mjs \"**/*.rb\" \"glob.rb\"\n\"glob.rb\" does not match \"**/*.rb\"\n\n❯ node node/glob.mjs \"**/*.rb\" \"foo.py\"\n\"foo.py\" does not match \"**/*.rb\"\n```\n\n## Contributing\n\nI can't guarantee how much I will do on this beyond what there is, but happy to review and/or add other folks. I'd like to keep things pretty simple though (unless I change my mind)\n\n\nI use [lefthook](https://github.com/evilmartians/lefthook) for a precommit hook. Follow the [installation guide](https://github.com/evilmartians/lefthook/blob/master/docs/install.md), then run `lefthook install` to configure the pre-commit hook.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalpickles%2Fglob-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnicalpickles%2Fglob-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalpickles%2Fglob-test/lists"}