{"id":23053373,"url":"https://github.com/component/query","last_synced_at":"2025-08-15T03:32:40.075Z","repository":{"id":7445753,"uuid":"8787485","full_name":"component/query","owner":"component","description":"Query the DOM with selector engine fallback support","archived":false,"fork":false,"pushed_at":"2014-02-10T22:13:10.000Z","size":160,"stargazers_count":24,"open_issues_count":1,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-11T18:29:07.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/component.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}},"created_at":"2013-03-14T23:12:58.000Z","updated_at":"2023-08-24T13:09:56.000Z","dependencies_parsed_at":"2022-09-02T14:51:49.006Z","dependency_job_id":null,"html_url":"https://github.com/component/query","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/query/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229458438,"owners_count":18076153,"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-12-16T00:17:51.233Z","updated_at":"2024-12-16T00:17:51.732Z","avatar_url":"https://github.com/component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# query\n\n  Query the DOM with selector engine fallback support. This abstraction\n  allows all other components that require dom querying to indirectly support\n  old browsers, without explicitly adding support for them.\n\n## Installation\n\n    $ component install component/query\n\n## API\n\n### query(selector, [el])\n\n  Query `selector` against the document or `el`\n  and return a single match.\n\n```js\nquery('ul \u003e li');\nquery('ul \u003e li', articles);\n```\n\n### query.all(selector, [el])\n\n  Query `selector` against the document or `el`\n  and return all matches.\n\n```js\nquery.all('ul \u003e li');\nquery.all('ul \u003e li', articles);\n```\n\n## Fallback engines\n\n  Currently supported:\n\n  - [query-zest](https://github.com/component/query-zest)\n  - [query-qwery](https://github.com/jamischarles/query-qwery)\n\n## License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Fquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fquery/lists"}