|
gptkbp:instanceOf
|
gptkb:JavaScript_module_system
|
|
gptkbp:abbreviation
|
ECMAScript Module
|
|
gptkbp:allows
|
static analysis of imports and exports
|
|
gptkbp:alsoKnownAs
|
ECMAScript Module
|
|
gptkbp:canBe
|
gptkb:TypeScript
gptkb:Node.js
gptkb:Deno
Web browsers
modern browsers
|
|
gptkbp:canBeBundledBy
|
gptkb:Parcel
gptkb:Rollup
gptkb:Webpack
|
|
gptkbp:canBeLoadedWith
|
type="module" in HTML script tag
|
|
gptkbp:canBeTranspiledBy
|
gptkb:Babel
|
|
gptkbp:canImport
|
classes
objects
variables
functions
import() function
|
|
gptkbp:compatibleWith
|
top-level await (before ES2022)
dynamic require
require()
conditional exports
|
|
gptkbp:defaultExportSyntax
|
export default
|
|
gptkbp:doesNotPollute
|
global namespace
|
|
gptkbp:enables
|
modular programming
tree shaking
|
|
gptkbp:exportedTo
|
classes
objects
variables
functions
|
|
gptkbp:fileExtension
|
.mjs
|
|
gptkbp:heldBy
|
strict mode by default
lexically scoped
statically structured
|
|
gptkbp:importDefaultSyntax
|
import name from 'module'
|
|
gptkbp:importSyntax
|
import { name } from 'module'
|
|
gptkbp:introducedIn
|
gptkb:ECMAScript_2015
|
|
gptkbp:namedExportSyntax
|
export { name }
|
|
gptkbp:replacedBy
|
CommonJS in browsers
|
|
gptkbp:standardizedBy
|
gptkb:ECMA_International
|
|
gptkbp:supports
|
import statement
top-level await (from ES2022)
live bindings
export statement
asynchronous loading in browsers
|
|
gptkbp:usedIn
|
gptkb:JavaScript
|
|
gptkbp:bfsParent
|
gptkb:JavaScript_Module
|
|
gptkbp:bfsLayer
|
8
|
|
https://www.w3.org/2000/01/rdf-schema#label
|
ES Module
|