@scml/mod-replacer-patch

TypeScript type definitions for Replace patch, applying find/replace patches to game/mod content.

Installation

npm
yarn
pnpm
bun
deno
npm install -D @scml/mod-replacer-patch

Quick Start

Add type reference

/// <reference types="@scml/mod-replacer-patch" />

Use global instance

addonReplacePatcher is mounted on window.

Global Types global

PropertyTypeDescription
addonReplacePatcherReplacePatcherReplace patch Addon instance

Subpath Exports

SubpathDescription
.Main entry
./ReplacePatcherMain class

API Reference

ReplacePatcher class

Addon class that applies replace patches to js/css/twee content.

Type Definition Source

INFO