The ECMAScript modules system (import and export keywords) by default can import only JavaScript code. But it's often convenient to keep an application's configuration inside of a JSON file, and as result, you might want to import a JSON file directly into an ES module. For a long time, importing JSON was supported by commonjs modules format. Fortunately, a new proposal at stage 3 named JSON modul
![JSON Modules in JavaScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/2c51d94c6e2a74940439351893e8be6e84f5af35/height=288;version=1;width=512/https%3A%2F%2Fdmitripavlutin.com%2Fjavascript-json-modules%2Fcover.png)