Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeModule

Hierarchy

  • NodeModule

Index

Constructors

constructor

Properties

children

children: NodeModule[]

exports

exports: any

filename

filename: string

id

id: string

loaded

loaded: boolean

parent

parent: NodeModule

paths

paths: string[]

require

Static _extensions

_extensions: NodeExtensions

Methods

_compile

  • _compile(code: string, filename: string): string

Static _load

  • _load(request: string, parent?: NodeModule, isMain?: boolean): any

Static _nodeModulePaths

  • _nodeModulePaths(path: string): string[]

Static _resolveFilename

  • _resolveFilename(request: string, parent?: NodeModule, isMain?: boolean): string

Static runMain

  • runMain(): void

Static wrap

  • wrap(code: string): string

Generated using TypeDoc