Skip to content

Namespace ForgeConfig

🤝 Interfaces

🏭 Functions

parse

ts
parse(body: string): ForgeConfig

Parse a forge config string into Config object

Parameters

  • body: string The forge config string

Return Type

  • ForgeConfig

Defined in: packages/mod-parser/forgeConfig.ts:62

stringify

ts
stringify(config: ForgeConfig): string

Convert a forge config to string

Parameters

  • config: ForgeConfig

Return Type

  • string

Defined in: packages/mod-parser/forgeConfig.ts:32

⏩ Type Aliases

Type

ts
Type: "I" | "D" | "S" | "B"

Defined in: packages/mod-parser/forgeConfig.ts:21