
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@hookdeck/eventcatalog-generator
Advanced tools
Generated the following from a Hookdeck Project:

npx @hookdeck/eventcatalog-generator {flags}
Supported flags are:
log-level: The level to log at - "fatal" | "error" | "warn" | "info" | "debug" | "trace"match: Regular expression match for Source names on Connectionsdir: Path the the Event Catalog install directoryapi-key: Hookdeck Project API Keymax-events: The maximum number of Requests/Events to process per Source/DestinationExample:
npx @hookdeck/eventcatalog-generator \
--dir ./path/to/eventcatalog/install \
--api-key {HOOKDECK_API_KEY} \
--log-level debug \
--match "stripe-production" \
--domain Payments \
--max-events 200
The CLI will also use the following environment variables:
PROJECT_DIR: Path the the Event Catalog install directoryHOOKDECK_PROJECT_API_KEY: Hookdeck Project API KeyThe environment variables can be within a .env file that will automatically be detected.
Navigate to your EventCatalog directory, then install the package.
npm i @hookdeck/eventcatalog-generator
Configure your EventCatalog to use your generator
Edit your eventcatalog.config.js file and add the generator
...
generators: [
[
"@hookdeck/eventcatalog-generator",
{
logLevel: "fatal" | "error" | "warn" | "info" | "debug" | "trace",
connectionSourcedMatch: "regular expression string to match source names",
hookdeckApiKey: "Hookdeck Project API Key. Hookdeck -> Project -> Settings -> Secrets"
}
]
]
...
In the EventCatalog directory run:
npm run generate
This will run the generator code and interact with your Catalog.
npm run generate -- {flags}
Supported flags are:
log-level: The level to log at - "fatal" | "error" | "warn" | "info" | "debug" | "trace"match: Regular expression match for Source names on Connectionsdir: Path the the Event Catalog install directoryapi-key: Hookdeck Project API Keymax-events: The maximum number of Requests/Events to process per Source/DestinationExample:
npm run generate -- --log-level debug --match "stripe-production" --domain Payments
The generate script will also use the following environment variables:
PROJECT_DIR: Path the the Event Catalog install directoryHOOKDECK_PROJECT_API_KEY: Hookdeck Project API KeyThe environment variables can be within a .env file that will automatically be detected.
In the plugin directory run:
# Just build the plugin once
npm run build
# Watch changes (recommended for dev)
npm run build -- -- watch
FAQs
Hookdeck Generator Plugin for Event Catalog
We found that @hookdeck/eventcatalog-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.