Skip to main content
Module

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

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

Appends the specified content at the index in the original string. If a range ending with index is subsequently moved, the insert will be moved with it. See also s.prependLeft(...).

Parameters

index: number
content: string