# patch.dom-event **Repository Path**: mirrors_Jam3/patch.dom-event ## Basic Information - **Project Name**: patch.dom-event - **Description**: [DEPRECATED] for legacy reasons only - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## dom-event ## :warning: DEPRECATED :warning: This module exists to fix some [kik/Azer](http://blog.npmjs.org/post/141577284765/kik-left-pad-and-npm) issues. New projects should not depend on this. --- Add/remove DOM events ## Usage ```js var on = require('dom-event') var off = on.off on(document.body, 'click', hello) // adds the event listener off(document.body, 'click', hello) // removes function hello () { console.log('hello!') } ```