1.1.0 • Published 8 months ago

@nodejs-loaders/yaml v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Nodejs Loaders: YAML

npm version unpacked size

Environment: test, development

Compatible APIs: module.register

This loader enables importing YAML files, converting them to a plain javascript object. YAML id commonly used for configuration files, which are often more easily represented in YAML than JSON.

# config.yaml
foo: bar
baz:
  - qux
  - zed
import config from './config.yaml';

config.foo; // 'bar'
config.baz; // ['qux', 'zed']
  • .yaml
  • .yml

Alternatives

1.1.0

8 months ago

1.0.1

10 months ago

1.0.0

10 months ago