
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@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
The npm package @hookdeck/eventcatalog-generator receives a total of 7 weekly downloads. As such, @hookdeck/eventcatalog-generator popularity was classified as not popular.
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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.