Skip to main content
This release is 7 versions behind 17.1.4 — the latest version of @oak/oak. Jump to latest

@oak/oak@16.0.0
Built and signed on GitHub Actions

A middleware framework for handling HTTP with Deno, Node.js, Bun and Cloudflare Workers 🐿️🦕🥟⚙️

This package works with Cloudflare Workers, Node.js, Deno, Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
94%
Published
a year ago (16.0.0)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

type alias State

The base type of state which is associated with an application or context.

Definition

Record<
string
| number
| symbol
, any>

Add Package

deno add jsr:@oak/oak

Import symbol

import { type State } from "@oak/oak/application";

---- OR ----

Import directly with a jsr specifier

import { type State } from "jsr:@oak/oak/application";

Add Package

npx jsr add @oak/oak

Import symbol

import { type State } from "@oak/oak/application";

Add Package

yarn dlx jsr add @oak/oak

Import symbol

import { type State } from "@oak/oak/application";

Add Package

pnpm dlx jsr add @oak/oak

Import symbol

import { type State } from "@oak/oak/application";

Add Package

bunx jsr add @oak/oak

Import symbol

import { type State } from "@oak/oak/application";