1
0
dust/examples/assets/read-data.js
2023-12-11 11:17:37 -05:00

7 lines
210 B
JavaScript

const fs = require('node:fs');
const data = fs.readFileSync("examples/assets/jq_data.json");
const items = JSON.parse(data);
const output = items.map((item) => item:commit:committer:name);
console.log(output)