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);
2023-12-11 16:17:37 +00:00
const output = items.map((item) => item:commit:committer:name);
2023-10-28 14:28:43 +00:00
console.log(output)