{"id":20129343,"url":"https://github.com/ryanmorr/is-element-supported","last_synced_at":"2025-04-09T16:09:36.941Z","repository":{"id":57139184,"uuid":"13482113","full_name":"ryanmorr/is-element-supported","owner":"ryanmorr","description":"Feature test HTML element support","archived":false,"fork":false,"pushed_at":"2024-01-23T18:09:18.000Z","size":148,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T16:09:31.486Z","etag":null,"topics":["dom","element","feature-testing","html","javascript","support"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanmorr.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}},"created_at":"2013-10-10T20:26:35.000Z","updated_at":"2024-05-31T08:49:08.000Z","dependencies_parsed_at":"2022-09-03T15:12:49.092Z","dependency_job_id":null,"html_url":"https://github.com/ryanmorr/is-element-supported","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmorr%2Fis-element-supported","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmorr%2Fis-element-supported/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmorr%2Fis-element-supported/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmorr%2Fis-element-supported/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanmorr","download_url":"https://codeload.github.com/ryanmorr/is-element-supported/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065283,"owners_count":21041871,"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":["dom","element","feature-testing","html","javascript","support"],"created_at":"2024-11-13T20:33:41.207Z","updated_at":"2025-04-09T16:09:36.923Z","avatar_url":"https://github.com/ryanmorr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# isElementSupported\n\n[![Version Badge][version-image]][project-url]\n[![License][license-image]][license-url]\n[![Build Status][build-image]][build-url]\n\n\u003e Feature test HTML element support\n\n## Install\n\nDownload the [CJS](https://github.com/ryanmorr/is-element-supported/raw/master/dist/cjs/is-element-supported.js), [ESM](https://github.com/ryanmorr/is-element-supported/raw/master/dist/esm/is-element-supported.js), [UMD](https://github.com/ryanmorr/is-element-supported/raw/master/dist/umd/is-element-supported.js) versions or install via NPM:\n\n``` sh\nnpm install @ryanmorr/is-element-supported\n```\n\n## Usage\n\nDetect support for an HTML element by providing the tag name:\n\n```javascript\nimport isElementSupported from '@ryanmorr/is-element-supported';\n\n// Feature test a known supported element\nisElementSupported('div'); //=\u003e true\n\n// Feature test an unsupported element\nisElementSupported('foo'); //=\u003e false\n```\n\n**Note:** SVG and MathML tags are not supported.\n\n## License\n\nThis project is dedicated to the public domain as described by the [Unlicense](http://unlicense.org/).\n\n[project-url]: https://github.com/ryanmorr/is-element-supported\n[version-image]: https://img.shields.io/github/package-json/v/ryanmorr/is-element-supported?color=blue\u0026style=flat-square\n[build-url]: https://github.com/ryanmorr/is-element-supported/actions\n[build-image]: https://img.shields.io/github/actions/workflow/status/ryanmorr/is-element-supported/node.js.yml?style=flat-square\n[license-image]: https://img.shields.io/github/license/ryanmorr/is-element-supported?color=blue\u0026style=flat-square\n[license-url]: UNLICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmorr%2Fis-element-supported","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanmorr%2Fis-element-supported","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmorr%2Fis-element-supported/lists"}