import-toml
Import a TOML file.
Install
npm install import-toml
Usage
const importToml = ; const data = importToml; console;
API
importToml(filename)
Returns a promise that resolves with the TOML contents parsed as an object.
importToml.sync(filename)
Returns the TOML contents parsed as an object.
filename
Type: string
The file to import.