Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bridge Closed for Maintenance

The Bridgekeeper sulks. He had seven follow-up questions about CommonJS interop, three about dual packages, and a really good one about the difference between module.exports and exports.

“We don’t use CommonJS.”

“What about require?”

“We don’t have require.”

“Dynamic require?”

“We have dynamic-import.”

The Bridgekeeper, having exhausted the module system question tree in four exchanges, closes the bridge for maintenance. The module toolkit is complete. The reader has strings, colon syntax, mutation, threading, interop, destructuring, and now modules — everything they need to build real programs.

Part IV awaits, with objects, arrays, and the data structures that fill them.