{"id":22614553,"url":"https://github.com/ghoullier/query-style","last_synced_at":"2025-03-29T00:26:43.606Z","repository":{"id":34391103,"uuid":"38318273","full_name":"ghoullier/query-style","owner":"ghoullier","description":"Lightweight computed style query engine.","archived":false,"fork":false,"pushed_at":"2021-04-30T19:16:28.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T17:39:47.119Z","etag":null,"topics":["computed-style","query-engine"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghoullier.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-06-30T15:47:35.000Z","updated_at":"2021-04-30T07:38:01.000Z","dependencies_parsed_at":"2022-09-14T06:00:18.064Z","dependency_job_id":null,"html_url":"https://github.com/ghoullier/query-style","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghoullier%2Fquery-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghoullier%2Fquery-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghoullier%2Fquery-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghoullier%2Fquery-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghoullier","download_url":"https://codeload.github.com/ghoullier/query-style/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246119834,"owners_count":20726457,"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":["computed-style","query-engine"],"created_at":"2024-12-08T18:10:45.411Z","updated_at":"2025-03-29T00:26:43.572Z","avatar_url":"https://github.com/ghoullier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# queryStyle\n\n[![NPM version][npm-version-image]][npm-url]\n[![Gitter][gitter-image]][gitter-url]\n[![Dependency Status][dependency-status-image]][dependency-status-url]\n\nLightweight computed style query engine.\n\n## Install\n\nThere are several ways to get a copy of query-style. Pick whichever one you like:\n\n- Use it via UNPKG: https://unpkg.com/query-style/index.js. This is a simple way to embed it on a webpage without having to do any other setup.\n- Install via NPM: `npm install --save query-style`\n- Install via YARN: `yarn add query-style`\n\n## Require\n\n```js\nimport queryStyle from \"query-style\"\n```\n\n## Documentation\n\n- [CHANGELOG](./CHANGELOG.md)\n\n## Examples\n\nAll float: left nodes\n\n```js\nconst matches = queryStyle({\n  float: \"left\",\n})\n```\n\nAll float: left div\n\n```js\nconst matches = queryStyle(\n  {\n    float: \"left\",\n  },\n  document.querySelectorAll(\"div\"),\n)\n```\n\nUsing function as criteria\n\nAll elements with a zIndex higher than 1000\n\n```js\nconst matches = queryStyle({\n  zIndex: (value) =\u003e value \u003e 1000,\n})\n```\n\n[gitter-image]: https://badges.gitter.im/Join%20Chat.svg\n[gitter-url]: https://gitter.im/ghoullier/query-style\n[dependency-status-image]: http://img.shields.io/gemnasium/ghoullier/query-style.svg?style=flat\n[dependency-status-url]: https://gemnasium.com/ghoullier/query-style\n[npm-version-image]: http://img.shields.io/npm/v/query-style.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/query-style\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghoullier%2Fquery-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghoullier%2Fquery-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghoullier%2Fquery-style/lists"}