6 lines
173 B
JavaScript
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);
|