Too Long; Didn't ReadIn ES6/ES2015, you can import json file in your code. For example, In ES6/ES2015, you can import json file in your code. For example, Given you have this example.json` file: {"name": "testing"} You could import it in ES6/ES2015 like this. // ES6/ES2015// app.js import * as data from './example.json'; const word = data.name; console.log(word); // output 'testing' In Typescript,