@barajs/loader
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Bara file loader

Easily load supported file type into JSON object.

Install

npm install --save @barajs/core @barajs/loader

Supported File Types

  • [x] JSON
  • [x] 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @barajs/loader

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

11.8 kB

Total Files

15

Last publish

Collaborators

  • nampdn