UNPKG

admindo-plugin-about

Version:

Author credits plugin for AdminDO dashboard

32 lines (24 loc) 535 B
import { Hono } from 'hono' import pkg from '../package.json' with { type: 'json' } /** * About Plugin for AdminDO * Provides information about AdminDO and its contributors */ function create(config) { const app = new Hono() app.get('*', (c) => { return c.text('not implemented') }) return app } function isCompatible(DOClass) { // About plugin is compatible with all Durable Objects return true } export const plugin = { slug: pkg.name, scope: 'global', create, isCompatible, } export default plugin