1.1.0 • Published 1 year ago

load-toml v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

load-toml

Read and parse a .toml file

NPM version Codacy Badge Test coverage npm download License

Sonar

For API documentation, see: API Docs

Installing

# use pnpm
$ pnpm install load-toml

# use npm
$ npm install load-toml --save

# use yarn
$ yarn add load-toml

Usage

  1. use load-toml in async mode
import { loadToml } from 'load-toml'

loadToml().then(path => {
  console.log('result is: ', path) // { "name": "saqqdy" }
})
  1. use load-toml in sync mode
import { loadTomlSync } from 'load-toml'

console.log('result is: ', loadTomlSync()) // { "name": "saqqdy" }

Support & Issues

Please open an issue here.

License

MIT

1.1.0

1 year ago

1.0.0

1 year ago

1.0.0-beta.2

1 year ago

1.0.0-beta.1

1 year ago

1.0.0-alpha.0

1 year ago