parse
Import from @varavel/vdl-plugin-sdk/utils/toml.
function parse<T>(text): T;
Parses a TOML document string into a JavaScript object.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | Record<string, unknown> |
Parameters
| Parameter | Type |
|---|---|
text | string |
Returns
T
See
Powered by smol-toml (BSD-3-Clause): https://github.com/squirrelchat/smol-toml