1.0.0 • Published 5 years ago
@barajs/loader v1.0.0
Bara file loader
Easily load supported file type into JSON object.
Install
npm install --save @barajs/core @barajs/loader
Supported File Types
- JSON
- YAML
- MD
- INI
- TOML
API
loadAsRaw
Load file as content with encoding support.
loadAsYaml
Load file as yaml.
loadAsYamlList
Load multiple files as yaml array.
1.0.0
5 years ago