npm install joycon-yaml-loader
# or #
yarn add joycon-yaml-loader
const JoyCon = require('joycon');
const JoyConYAMLLoader = require('joycon-yaml-loader');
const joycon = new JoyCon();
joycon.addLoader(JoyConYAMLLoader);
joycon.load([/* file... */]);