Skip to main content
Module

x/aleph/server/deps.ts>MagicString#snip

The Full-stack Framework in Deno.
Very Popular
Go to Latest
method MagicString.prototype.snip
import { MagicString } from "https://deno.land/x/aleph@1.0.0-beta.1/server/deps.ts";

Returns a clone of s, with all content before the start and end characters of the original string removed.

Parameters

start: number
end: number