Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 458 Bytes

opine.md

File metadata and controls

22 lines (14 loc) · 458 Bytes

2.x API

Adapted from the ExpressJS API Docs.

opine()

Creates an Opine application. The opine() function is a top-level function exported by the Opine module:

import opine from "https://deno.land/x/opine@2.3.4/mod.ts";

const app = opine();

The opine() function is also exported as a named export:

import { opine } from "https://deno.land/x/opine@2.3.4/mod.ts";

const app = opine();