Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Latest
function createCodeFrame
import { createCodeFrame } from "https://deno.land/x/fresh@1.6.8/src/server/code_frame.ts";

Generate an excerpt of the location in the source around the specified position.

Parameters

text: string
lineNum: number
columnNum: number

Returns

string | undefined