assassin-bug/framework/asset-manager/test/index.js

6 lines
173 B
JavaScript

const yaml = require('yaml');
const fs = require('fs');
const data = fs.readFileSync('manifest.yaml');
const parsed = yaml.parse(data.toString());
console.log(parsed);