exporter

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "exporter"

Variables

This section is empty.

Functions

func Enable

func Enable(runtime *goja.Runtime)

func Require

func Require(runtime *goja.Runtime, module *goja.Object)

func RequireWithJSModFuncMap

func RequireWithJSModFuncMap(func_map JSModExporterFunc) require.ModuleLoader

Types

type JSModExporterFunc

type JSModExporterFunc interface {
	GetJSFuncMap() map[string]any
}

type ModuleExporter added in v0.4.5

type ModuleExporter struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL