JSPM

  • Created
  • Published
  • Downloads 2722
  • Score
    100M100P100Q117875F
  • License Apache-2.0

Standard Hono Server Adapter for ObjectStack Runtime

Package Exports

  • @objectstack/plugin-hono-server
  • @objectstack/plugin-hono-server/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@objectstack/plugin-hono-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@objectstack/plugin-hono-server

HTTP Server adapter for ObjectStack using Hono.

Features

  • Fast: Built on Hono, a high-performance web framework.
  • Protocol Compliant: Implements the IHttpServer interface required by @objectstack/runtime.
  • Middleware: Supports standard ObjectStack middleware.

Usage

import { ObjectKernel } from '@objectstack/core';
import { HonoServerPlugin } from '@objectstack/plugin-hono-server';

const kernel = new ObjectKernel();
kernel.use(new HonoServerPlugin({ port: 3000 }));