Skip to content

gatewayd-io/gatewayd-plugin-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 28, 2024
c4816fd · Dec 28, 2024

History

26 Commits
Feb 25, 2024
Dec 28, 2023
Apr 8, 2024
Dec 28, 2023
Apr 5, 2024
Dec 28, 2023
Dec 28, 2023
Apr 8, 2024
Dec 29, 2023
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2023

Repository files navigation

gatewayd-plugin-js-logo

gatewayd-plugin-js

GatewayD plugin for running JS functions as hooks.

Download · Documentation

Features

  • Run JS functions as hooks
  • Helper functions for common tasks such as parsing incoming queries
  • Support for running multiple JS functions as hooks
  • Prometheus metrics for monitoring
  • Logging
  • Configurable via environment variables and command-line arguments

Build for testing

To build the plugin for development and testing, run the following command:

make build-dev

Running the above command causes the go mod tidy and go build to run for compiling and generating the plugin binary in the current directory, named gatewayd-plugin-js.

Warning

This plugin is experimental and is not recommended for production use. This is unless you know what you are doing.