UNPKG

scrapper-tools

Version:

Modern way to scrape modern websites

7 lines (5 loc) 159 B
import toml from "toml" import fs, { PathLike } from "fs" export function parseToml(path: PathLike) { return toml.parse(fs.readFileSync(path).toString()) }