For API documentation, see: API Docs
# use pnpm
$ pnpm install load-toml
# use npm
$ npm install load-toml --save
# use yarn
$ yarn add load-toml- use
load-tomlin async mode
import { loadToml } from 'load-toml'
loadToml().then(path => {
console.log('result is: ', path) // { "name": "saqqdy" }
})- use
load-tomlin sync mode
import { loadTomlSync } from 'load-toml'
console.log('result is: ', loadTomlSync()) // { "name": "saqqdy" }Please open an issue here.