Socket
Book a DemoInstallSign in
Socket

html-form-events

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-form-events

Eventing system for html-form

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

HTMF Events

This library creates events after the HTML swap by the html-form library.

Installation

First install html-form.

npm i html-form

Then install events.

npm i html-form-events

How it works

From the back end response add to the header:

hf-events: {"eventName1": {"detail1": "value1"}, "eventName2": {"detail2": "value2"}}

The header name is hf-events. The event will be the keys. The detail values for each event will be the JSON value of each key.

Keywords

htmf

FAQs

Package last updated on 02 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts