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