{"id":15497379,"url":"https://github.com/heapwolf/qs","last_synced_at":"2025-04-10T10:42:24.739Z","repository":{"id":66203364,"uuid":"138291172","full_name":"heapwolf/qs","owner":"heapwolf","description":"A minimalist dom library","archived":false,"fork":false,"pushed_at":"2019-02-12T15:47:28.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T12:51:02.345Z","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/heapwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-22T10:45:54.000Z","updated_at":"2019-02-12T15:47:30.000Z","dependencies_parsed_at":"2023-03-01T09:30:55.927Z","dependency_job_id":null,"html_url":"https://github.com/heapwolf/qs","commit_stats":null,"previous_names":["hxoht/qs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapwolf","download_url":"https://codeload.github.com/heapwolf/qs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199612,"owners_count":21063717,"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-02T08:33:17.086Z","updated_at":"2025-04-10T10:42:24.717Z","avatar_url":"https://github.com/heapwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\nA minimal query selector helper library.\n\n# INSTALL\n```bash\nnpm install heapwolf/qs\n```\n\n# API\nThere are only two methods, `qs` and `qsa`.\n\n`qs` is a short function that assumes document, but can take an optional\nadditional parameter that will specify scope of the selector's execution.\n\n```js\nconst qs = (s, p) =\u003e (p || document).querySelector(s)\n```\n\n`qsa` is the same as above, but uses `.querySelectorAll` and will also\nconvert the NodeList into an array, providing at least an empty array if\nthere are no nodes found.\n\n```js\nconst qsa = (s, p) =\u003e [...(p || document).querySelectorAll(s)]\n```\n\n```js\nmodule.exports = { qs, qsa }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fqs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapwolf%2Fqs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fqs/lists"}