import { Pack } from "https://deno.land/x/packwiz@0.1.0/Pack.ts";
Methods
add(): Promise<void>
type: "curseforge",
slugOrSearchOrURL: string,
options?: CurseforgeAddOptions,
add(): Promise<void>
type: "modrinth",
slugOrSearchOrURL: string,
options?: ModrinthAddOptions,
addExternal(name: string, url: string)
detect()
CurseForge only. Detects .jar
s and creates metafiles for them.
export(type: "curseforge", options?: CurseForgeExportOptions): Promise<void>
export(type: "modrinth", options?: ModrinthExportOptions): Promise<void>
importModpack(zipFilePath: string)
CurseForge only.
refresh()
CurseForge only.
remove(slugOrFilePath: string)
update(slug: string)