Module

external class Module : Module(source)

Constructors

Link copied to clipboard
constructor(id: String, parent: Module = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var children: ReadonlyArray<Module>
Link copied to clipboard
open override var exports: Any?
Link copied to clipboard
open override var filename: String
Link copied to clipboard
open override var id: String
Link copied to clipboard
open override var isPreloading: Boolean

true if the module is running during the Node.js preload

Link copied to clipboard
open override var loaded: Boolean
Link copied to clipboard
open override var parent: Module?
Link copied to clipboard
open override var path: String
Link copied to clipboard
open override var paths: ReadonlyArray<String>
Link copied to clipboard
open override var require: Require