27 lines
467 B
Markdown
27 lines
467 B
Markdown
[**packwizjs**](../../README.md)
|
|
|
|
***
|
|
|
|
[packwizjs](../../modules.md) / [parser](../README.md) / parsePackwiz
|
|
|
|
# Function: parsePackwiz()
|
|
|
|
> **parsePackwiz**(`filePath`): `Promise`\<[`Packwiz`](../classes/Packwiz.md)\>
|
|
|
|
Defined in: parser.ts:193
|
|
|
|
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.
|