Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 529 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 529 Bytes

Write JavaScript plugins

A plugin is a factory returning a name and handlers. It can emit files, transform an HTTP API, or exchange data with other JavaScript plugins.

  1. Output plugin — emit a file in a few lines.
  2. Input plugin — load your own source format.
  3. Contracts and hooks — share data and choose when to run.

These are JavaScript APIs. Native Rust contract/block handlers are a separate Rust plugin interface.

All sections