Skip to main content
Dublin Library

The Publishing Project

Tagged “ES Modules”

--- desc: ---
Converting CommonJS to ES Modules

Node.js has always supported Common.js as the module system. When building a package we use modules.export to define the elements in the package that can be consumed by other modules: // file:...

Link to Archive

See all tags.