@kimmio/plugin-example-echo
v1.0.0
Published
Example Kimmio plugin package with a Deno runtime echo action.
Downloads
18
Readme
Kimmio Example Echo Plugin
This package is a minimal Kimmio plugin that can run inside the Plugin Runner
Deno sandbox. It exposes one action, echo, that returns sanitized details
about its input and execution context.
Runtime
The Plugin Runner imports:
runtime/echo.tsThe default export follows the Kimmio plugin handler contract:
export default async function run(ctx: PluginContext): Promise<unknown>Local Runner Layout
For local development, this package already sits in the runner-compatible layout:
plugins/com.kimmio.example.echo/1.0.0Use a job with:
{
"plugin": {
"id": "com.kimmio.example.echo",
"version": "1.0.0",
"action": "echo",
"runtimeEntry": "runtime/echo.ts"
}
}Publish To NPM
Log in once:
npm loginValidate package metadata and runtime files:
npm run validatePreview the package contents:
npm run pack:dry-runRun a publish dry run:
npm run publish:dry-runPublish:
npm run publish:npm -- --tag latest --otp 123456If your npm account does not require two-factor authentication for publishes,
omit the --otp flag.
If you do not control the @kimmio npm scope, change the name field in
package.json before publishing.
