{"id":18335996,"url":"https://github.com/auritylab/domain-matcher","last_synced_at":"2025-04-06T04:34:46.663Z","repository":{"id":33961912,"uuid":"164115653","full_name":"AurityLab/domain-matcher","owner":"AurityLab","description":"Check if given domain/url matches against domain patterns.","archived":false,"fork":false,"pushed_at":"2023-01-31T04:00:33.000Z","size":217,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T22:10:30.005Z","etag":null,"topics":["domain","domain-matcher","matcher","wildcard"],"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/AurityLab.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}},"created_at":"2019-01-04T14:13:34.000Z","updated_at":"2021-12-14T10:21:26.000Z","dependencies_parsed_at":"2023-02-16T15:40:48.134Z","dependency_job_id":null,"html_url":"https://github.com/AurityLab/domain-matcher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fdomain-matcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fdomain-matcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fdomain-matcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fdomain-matcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AurityLab","download_url":"https://codeload.github.com/AurityLab/domain-matcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223238121,"owners_count":17111359,"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":["domain","domain-matcher","matcher","wildcard"],"created_at":"2024-11-05T20:05:30.904Z","updated_at":"2024-11-05T20:05:31.959Z","avatar_url":"https://github.com/AurityLab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Domain matcher\n[![Build Status](https://api.travis-ci.org/AurityLab/domain-matcher.svg?branch=master)](https://travis-ci.org/AurityLab/domain-matcher)\n[![npm](https://img.shields.io/npm/v/recaptcha-v3.svg)](https://www.npmjs.com/package/domain-matcher) \n[![npm type definitions](https://img.shields.io/npm/types/recaptcha-v3.svg)](https://www.npmjs.com/package/domain-matcher)\n\nCheck if given domain/url matches against domain patterns.\n\n## Features\n* Only ~3 kB (**~1.2 kB gzipped**).\n* Suitable for browser environments.\n* No additional dependencies.\n\n## Install\nWith NPM:\n```bash\n$ npm install domain-matcher\n```\n\nWith Yarn:\n```bash\n$ yarn add domain-matcher\n```\n\n## Usage\n```javascript\nimport { match } from 'domain-matcher'\n\nmatch('domain.matcher.com', '*.matcher.com') // =\u003e true\nmatch('matcher.com', '*.matcher.com') // =\u003e false\nmatch('matcher.com', '*.matcher.com', '*.com') // =\u003e true (Only '*.com' matches)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauritylab%2Fdomain-matcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauritylab%2Fdomain-matcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauritylab%2Fdomain-matcher/lists"}