Skip to content

Glossary: Software Design Patterns in JavaScript

ES module

Also written: ES modules, module, import, export

A JavaScript file that uses export and import to share code. A module runs only once however many files import it, which is why it works as a singleton.

Where the book teaches it

Related terms

Singleton