# html-tag-interfaces

> Map HTML tag names to their interfaces

Latest version **1.1.0** (published 2022-01-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install html-tag-interfaces
pnpm add html-tag-interfaces
yarn add html-tag-interfaces
bun add html-tag-interfaces
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-01-22 |
| First published | 2022-01-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 72.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kepler Sticka-Jones |
| Maintainers | keplersj |
| Keywords | html, tag, name, element, tagname, interface, dom, w3c, whatwg |

## Links

- npm: https://www.npmjs.com/package/html-tag-interfaces
- Repository: https://github.com/keplersj/html-tag-interfaces
- Homepage: https://github.com/keplersj/html-tag-interfaces#readme
- Issues: https://github.com/keplersj/html-tag-interfaces/issues
- npm.io page: https://npm.io/package/html-tag-interfaces

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2022-01-22
- 1.0.0 — 2022-01-22

## README

# html-tag-interfaces

[![npm](https://img.shields.io/npm/v/html-tag-interfaces)](https://www.npmjs.com/package/html-tag-interfaces)
[![npm](https://img.shields.io/npm/dw/html-tag-interfaces)](https://www.npmjs.com/package/html-tag-interfaces)
[![Codecov](https://img.shields.io/codecov/c/github/keplersj/html-tag-interfaces)](https://app.codecov.io/gh/keplersj/html-tag-interfaces)
[![Bundle Size](https://img.shields.io/bundlephobia/min/html-tag-interfaces)](https://bundlephobia.com/package/html-tag-interfaces)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://www.conventionalcommits.org/)

Map HTML tag names to their interfaces.

## Installation

Install using [npm](https://npmjs.com):

```sh
$ npm install html-tag-interfaces
```

Or use in browsers with [Skypack](https://www.skypack.dev/):

```html
<script type="module">
  import { interfaces } from "https://cdn.skypack.dev/html-tag-interfaces";
</script>
```

## Usage

Use the interfaces export to get the DOM interface for an HTML tag name:

```js
import { interfaces } from "html-tag-interfaces";

console.log(interfaces["div"]); // => HTMLDivElement
```

## License

Copyright 2022 [Kepler Sticka-Jones](https://keplersj.com). Licensed ISC.

---
_Source: https://npm.io/package/html-tag-interfaces · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
