PackwizJS/docs/parser/functions/parsePackwiz.md

28 lines
467 B
Markdown
Raw Normal View History

2025-02-09 10:00:02 -06:00
[**packwizjs**](../../README.md)
***
[packwizjs](../../modules.md) / [parser](../README.md) / parsePackwiz
# Function: parsePackwiz()
> **parsePackwiz**(`filePath`): `Promise`\<[`Packwiz`](../classes/Packwiz.md)\>
2025-02-09 10:36:20 -06:00
Defined in: parser.ts:193
2025-02-09 10:00:02 -06:00
Parses a packwiz.toml file and returns its contents.
## Parameters
### filePath
`string`
The path of the TOML file.
## Returns
`Promise`\<[`Packwiz`](../classes/Packwiz.md)\>
The parsed file as a structured class.