Statements (32)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:JavaScript_module_system
|
| gptkbp:canBe |
gptkb:Babel
gptkb:Rollup gptkb:TypeScript gptkb:Webpack |
| gptkbp:compatibleWith |
dynamic require
|
| gptkbp:defaultExportSyntax |
export default
export default value |
| gptkbp:enables |
static analysis
tree shaking code modularization circular dependencies |
| gptkbp:fileExtension |
.mjs
|
| gptkbp:imported |
script type="module" in HTML
|
| gptkbp:importSyntax |
import
import name from 'module' import { name } from 'module' |
| gptkbp:introducedIn |
gptkb:ECMAScript_2015
|
| gptkbp:namedExportSyntax |
export
export { name } |
| gptkbp:replacedBy |
gptkb:CommonJS_modules
|
| gptkbp:scope |
file-level
|
| gptkbp:specifies |
gptkb:ECMA-262
|
| gptkbp:standardizedBy |
gptkb:ECMA_International
|
| gptkbp:supports |
asynchronous loading
import statement export statement |
| gptkbp:usedIn |
gptkb:Node.js
browsers |
| gptkbp:bfsParent |
gptkb:CommonJS
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
ECMAScript modules (ESM)
|