Node.js Plans to Support Import/Export ES6 (ECMAScript 2015) Modules
Introduction:
Node.js currently relies solely on CommonJS syntax for loading modules. Many developers seek clarification on Node.js's plans for supporting ECMAScript 2015 (ES6) module syntax.
Current Status and Roadmap:
Node.js 13.2.0 & Above:
Node.js 13.1.0 & Below:
Historical Developments (for Reference):
April 23, 2019:
January 17, 2019:
September 13, 2017:
September 8, 2017:
February 2017:
October 2016:
Blockedrs to ES6 module implementation in Node.js were identified, including:
Conclusion:
Node.js is actively working towards supporting ES6 import/export modules. The timeline is still uncertain, but significant progress has been made, with experimental support available in newer Node.js versions. As the specification stabilizes, Node.js plans to provide full and stable support for ES6 module syntax.
The above is the detailed content of Will Node.js Ever Fully Support ES6 Import/Export Modules?. For more information, please follow other related articles on the PHP Chinese website!