YAML

Parcel supports importing YAML files from JavaScript using the @parcel/transformer-yaml plugin. When a .yaml file is detected, it will be installed into your project automatically.

Example usage

#
app.js:
import data from './data.yaml';
console.log(data.hello[0]);
// => "world"
data.yaml:
hello:
- world
- computer