ES2015 module detection in Node.js What is this about? About ES2015 modules The Involved Parties TC39 Node TSC Node.js engineers Frontend engineers NPM The Issue The Proposals 1) In-Source pragma (rejected) 2) New file extension (Node.js TSC draft) 3) Content-Sniffing aka. Double Parsing (rejected) 4) White-/Blacklist patterns in package.json 5) CommonJS or ES2015 switch in package.json 6) default
![ES2015 module detection in Node.js](https://cdn-ak-scissors.b.st-hatena.com/image/square/c95eb1f32093e96cd761483fa10563e7af92454a/height=288;version=1;width=512/http%3A%2F%2Fmartinheidegger.github.io%2Fes6modules-nodejs%2Fogp.png)