Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/src/utils.ts>replacePrefix

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
function replacePrefix
import { replacePrefix } from "https://deno.land/x/deno_nest@v3.4.0/src/utils.ts";

Parameters

str: string
prefix: string