Build your own Kurier addon using this repo as a template!
Clone this repo or create a new repo using GitHub's template feature.
An addon's minimal structure requires:
src/index.ts
- where the addon is exported viaexport default
.src/types.ts
- any own type definitions or type extensions from Kurier's base interfaces.src/addon.ts
- the file that contains the class that extends fromAddon
, with aninstall()
method that initializes the addon.
This repo has support for TypeScript + ESLint + Prettier, along with install-peers-cli
to install a version of Kurier alongside your addon.
Official addons are registered in the @kurier
NPM scope. For example:
@kurier/addon-transport-layer-context
Community addons are named kurier-addon-*
. For example:
kurier-addon-wordbot
If you want your addon listed in the Kurier readme and docs, create an issue here, pointing to your repository along with a description of how it works and what it does.