{"id":13514719,"url":"https://github.com/ded/qwery","last_synced_at":"2025-05-15T08:02:37.391Z","repository":{"id":55622866,"uuid":"1470094","full_name":"ded/qwery","owner":"ded","description":"a query selector engine","archived":false,"fork":false,"pushed_at":"2020-12-17T13:38:23.000Z","size":9993,"stargazers_count":1109,"open_issues_count":14,"forks_count":95,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-05T16:19:02.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ded.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":"2011-03-11T23:12:10.000Z","updated_at":"2025-03-23T16:58:42.000Z","dependencies_parsed_at":"2022-08-15T04:40:52.678Z","dependency_job_id":null,"html_url":"https://github.com/ded/qwery","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ded%2Fqwery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ded%2Fqwery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ded%2Fqwery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ded%2Fqwery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ded","download_url":"https://codeload.github.com/ded/qwery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253411182,"owners_count":21904134,"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-08-01T05:01:00.822Z","updated_at":"2025-05-15T08:02:37.348Z","avatar_url":"https://github.com/ded.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"## Qwery\nQwery is a modern selector engine built on top of `querySelectorAll` giving you practical utility.\n\n## Deprecation Notice!\n\nAs of version `4.0`, `qwery` no longer supports IE6 - IE8. If your application still requires this level of support, please see the final [`3.x` release](https://github.com/ded/qwery/tree/v3.4.2).\n\n### Browser Support\n\n  - IE9+\n  - Chrome 1+\n  - Safari 3+\n  - Firefox 4+\n\n\n### Contexts\nEach query can optionally pass in a context\n\n``` js\nqwery('div', node); // existing DOM node or...\nqwery('div', '#foo'); // another query\n```\n\n\n### Dev Env \u0026 Testing\n\n``` sh\nnpm install\nmake test\n```\n\n## Ender support\nQwery is the recommended selector engine for [Ender](http://enderjs.com). If you don't have Ender, install it, and don't ever look back.\n\n``` sh\nnpm install ender -g\n```\n\nInclude `qwery` into your `package.json`\n\n``` json\n{\n  \"dependencies\": {\n    \"qwery\": \"x.x.x\"\n  }\n}\n```\n\n### Ender bridge additions\n\n``` js\n// the context finder - find all p elements descended from a div element\n$('div').find('p')\n\n// join one set with another\n$('div').and('p') // equal to $('div,p')\n```\n\n### Recommended sibling modules\nIn most cases, if you're hunting for a selector engine, you probably want to pair Qwery with a DOM module. In that case qwery pairs quite nicely with [Bonzo](https://github.com/ded/bonzo) (a DOM util) and [Bean](https://github.com/fat/bean) (an event util). Add them to your Ender installation as such:\n\n``` sh\nender build qwery bean bonzo\n```\n\nThen write code like a boss:\n\n``` js\n$('\u003cp\u003ehello world\u003c/p\u003e')\n  .css({\n    color: 'red',\n    background: 'white'\n  })\n  .after('√')\n  .bind({\n    'click.button': function () {\n      $(this).hide().unbind('click.button')\n    }\n  })\n  .appendTo('body')\n```\n\n### Giving back\nAre you using this library in production? Consider [leaving a tip](https://www.gittip.com/ded) to show your appreciation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fded%2Fqwery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fded%2Fqwery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fded%2Fqwery/lists"}