Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Read A JSON File Into An Object In JavaScript

This is a quick and dirty one with no error handling :

javascript
const fs = require('fs')

const jsonData = JSON.parse(fs.readFileSync('source.json'))