Adapted from the ExpressJS API Docs.
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();