1
0
dust/examples/assets/read-data.js
2023-10-28 10:28:43 -04: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)