A Broccoli filter that converts YAML to JSON using js-yaml
$ npm install --save broccoli-yaml
var yaml2json = require('broccoli-yaml');
var locales = yaml2json('config/locales', { space: 2});
Transpile a YAML 1.2 document into a corresponding JSON document. Optionally supply an object with options as the last argument.
Type: Number
Default: 4
Accepts a number that defines the indentation level for JSON pretty print.
MIT © Above Property