# Haunted

Library that implements React's Hooks API for standard web components and lit-html or hyperHTML templates.


Source: https://findsoftware.frbit.cloud/haunted/
Last reviewed: 2026-10-27
Updated: 2026-10-28
Listed since: 2026-10-27

## Record

### Links

- home: https://hauntedhooks.netlify.app/
- repository: https://github.com/matthewp/haunted
- docs: https://hauntedhooks.netlify.app/docs/

### Identity

- status: active
- maintainer: Matthew Phillips
- maintainerType: individual
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: ui-library
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: browser
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: BSD-2-Clause

### Releases

- currentMajor: 6
- latestReleaseDate: 2025-02-21

### Adoption

- githubStargazers: 2724
- packagistDownloads: not applicable
- npmWeeklyDownloads: 12057
- contributors: 30
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 109
- dependentPackages: 88

### Sources

- urls: https://hauntedhooks.netlify.app/ (read 2026-10-27)
- urls: https://api.github.com/repos/matthewp/haunted (read 2026-10-27)
- urls: https://hauntedhooks.netlify.app/docs/ (read 2026-10-27)
- firstRelease: https://github.com/matthewp/haunted/releases (read 2026-10-27)
- maintainer: https://github.com/matthewp/haunted/blob/main/LICENSE (read 2026-10-27)
- maintainerType: https://api.github.com/repos/matthewp/haunted (read 2026-10-27)
- language: https://api.github.com/repos/matthewp/haunted (read 2026-10-27)
- category: https://hauntedhooks.netlify.app/ (read 2026-10-27)
- installMethod: https://hauntedhooks.netlify.app/docs/guides/getting-started/ (read 2026-10-27)
- installMethod: https://hauntedhooks.netlify.app/docs/guides/getting-started/ (read 2026-10-27)
- runsAs: https://hauntedhooks.netlify.app/docs/guides/getting-started/ (read 2026-10-27)
- license: https://github.com/matthewp/haunted/blob/main/LICENSE (read 2026-10-27)
- licenseModel: https://api.github.com/repos/matthewp/haunted (read 2026-10-27)
- currentMajor: https://github.com/matthewp/haunted/releases (read 2026-10-27)
- latestReleaseDate: https://github.com/matthewp/haunted/releases/tag/v6.1.0 (read 2026-10-27)
- githubStargazers: https://api.github.com/repos/matthewp/haunted (read 2026-10-27)
- contributors: https://api.github.com/repos/matthewp/haunted/contributors (read 2026-10-27)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/haunted (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/haunted (read 2026-10-27)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/haunted (read 2026-10-27)

## Notes

Haunted brings React's Hooks API to web components. A component is a function that uses hooks such as state and effects, and the library turns it into a standard custom element. Templates are written for lit-html or hyperHTML. The package installs with npm, and the [getting-started guide](https://hauntedhooks.netlify.app/docs/guides/getting-started/) also shows importing it from a CDN into a page without build tools.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
