Module ↔ JS file exports Code
Script
Code fragment run in Global Scope by Browser
CommonJS
(legacy) Module format (originally) for Servers (Node.js)
module.exports
Object to export from CommonJS, require() to import
ES Module
(default) built-in JS module format
AMD Module
Async Module Definition format used in Browser
Module Specifier
string to identify & point to Module location
Dependency
extra external code that a project/Source Code depends on to work
Polyfill
Code to emulate native Web Platform feature for backwards compatibility with older Browser
Bundler
Dev tool to combine Modules into fewer file to optimize for Browser
import
JS Keyword Declaration to import live read-only views on exports
Browser Module Path
to import Module via Module Specifier to point to CDN URL link - to allow immediate Execution in Browser w/o Bundler
References
npm↔ Package Manager CLI Dev tool to access/manage Module from npmjsAssertionError↔Errorthrown byassertModule for failure of assertionCommonJS↔ (legacy) Module format (originally) for Servers (Node.js)AMD Module↔ Async Module Definition format used in BrowserNode API↔ core Node.js internal Module built-in with Node.jskeywords↔ to set list of SEO keywords to search for Module on npmjscors↔ Node.js Module for CORS to open up API so accessible by other Domainsbody-parser↔ Node.js Middleware Module to parse (URL/JSON-encoded)POSTdataws↔ Node.js Module to build WebSockets Serversocket.io↔ Node.js Module to build WebSockets with built-in Server/Client & fallback Long PollingModule Instantiation↔ Every Module visited to connect imports to exports ; must instantiate children before parentsModule Evaluation↔ Execute Module body; children evaluated before parentsModule Import Cycle↔ After parsing, Module are set up in 2 phases of Module Instantiation & Module Evaluationmain↔ sets Module file as entry point for Package - usually index.jsModule Specifier↔stringto identify & point to Module locationimport()↔ JS Operator to Dynamically load Module viaPromiseimport.meta↔ return Object with Metadata for current ModuleBundler↔ Dev tool to combine Modules into fewer file to optimize for Browserimport.meta.url↔import.metaproperty with URLstringof current ModuleModule Bundler↔ Dev tool to combine Modules into single fileBrowser Module Path↔ toimportModule via Module Specifier to point to CDN URL link - to allow immediate Execution in Browser w/o BundlerdevDependencies↔ to list Module for dev build/test only & not prod shipdependencies↔ to list Module to Bundle & prod shipyarn upgrade↔ to update Module to their range set by internalpackage.jsonexport↔ JS Keyword to export ModuleVite↔ Dev tool to scaffold & build framework UI, next-gen ESBuild Bundler 100X Webpack perf, support native Module, native TSLow-Level API↔ API with more granular control over software Module or Hardware, with fewer AbstractionHot Module Replacement↔ (feat) to update Module in live App instance seamlessly