{"id":18823854,"url":"https://github.com/eddyerburgh/is-dom-selector","last_synced_at":"2026-01-19T16:30:19.082Z","repository":{"id":57277100,"uuid":"80293676","full_name":"eddyerburgh/is-dom-selector","owner":"eddyerburgh","description":"JavaScript function to validate a DOM selector","archived":false,"fork":false,"pushed_at":"2017-02-09T09:05:38.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T20:41:43.981Z","etag":null,"topics":[],"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/eddyerburgh.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":"2017-01-28T16:00:43.000Z","updated_at":"2020-09-22T03:08:37.000Z","dependencies_parsed_at":"2022-09-18T13:20:51.625Z","dependency_job_id":null,"html_url":"https://github.com/eddyerburgh/is-dom-selector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fis-dom-selector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fis-dom-selector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fis-dom-selector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fis-dom-selector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddyerburgh","download_url":"https://codeload.github.com/eddyerburgh/is-dom-selector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239760297,"owners_count":19692287,"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-11-08T00:54:52.424Z","updated_at":"2026-01-19T16:30:18.739Z","avatar_url":"https://github.com/eddyerburgh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-dom-selector [![CircleCI](https://circleci.com/gh/eddyerburgh/is-dom-selector/tree/master.svg?style=shield)](https://circleci.com/gh/eddyerburgh/is-dom-selector/tree/master)\n\nReturns true if passed a valid DOM selector as a string.\n\n## Usage\n\n```\nnpm install --save is-dom-selector\n```\n\n```js\nimport isDomSelector from 'is-dom-selector'\n\nisDomSelector('tag') // true\nisDomSelector('.class-selector') // true\nisDomSelector('#id-selector') // true\nisDomSelector('[attribute=\"value\"]') // true\nisDomSelector('not $$ valid selector') // false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fis-dom-selector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddyerburgh%2Fis-dom-selector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fis-dom-selector/lists"}