{"library":"event-hooks-webpack-plugin","type":"library","category":null,"description":"Execute arbitrary JavaScript code on any available Webpack compiler hook. Version 3.0.1 is the latest stable release as of 2025. The plugin provides a simple way to tap into Webpack's compilation lifecycle events (e.g., run, compile, done) by mapping hook names to callback functions. Compared to webpack-shell-plugin, it allows running code (not shell commands) and supports all Tapable hook types via named exports tap, tapAsync, and tapPromise. This package is ESM-only since v3.0.0, requires Node.js with ESM support, Webpack ≥5.82.0, and TypeScript ≥5.5.2. It ships with TypeScript declarations and is released on npm with irregular cadence.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","event","hook","webpack","plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install event-hooks-webpack-plugin","imports":["import EventHooksPlugin from 'event-hooks-webpack-plugin'","import { tap } from 'event-hooks-webpack-plugin'","import { tapPromise } from 'event-hooks-webpack-plugin'","import { tapAsync } from 'event-hooks-webpack-plugin'"]},{"cmd":"yarn add event-hooks-webpack-plugin","imports":[]},{"cmd":"pnpm add event-hooks-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/cascornelissen/event-hooks-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/event-hooks-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/event-hooks-webpack-plugin/compatibility"}}