# use pnpm
$ pnpm install load-yml
# use npm
$ npm install load-yml --save
# use yarn
$ yarn add load-yml
- use
load-yml
in async mode
import { loadYml } from 'load-yml'
loadYml().then(path => {
console.log('result is: ', path) // { "name": "saqqdy" }
})
- use
load-yml
in sync mode
import { loadYmlSync } from 'load-yml'
console.log('result is: ', loadYmlSync()) // { "name": "saqqdy" }
Please open an issue here.