1
0
dust/examples/assets/read-data.js

7 lines
210 B
JavaScript
Raw Permalink Normal View History

2023-10-28 14:28:43 +00:00
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)