node

package
v0.51.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeFlags = []string{
	"--enable-source-maps",
	"--experimental-strip-types",
}

NodeFlags are common node flags passed to node commands.

Functions

func NodeExec

func NodeExec(ctx context.Context, filePath string, fileArgs ...string) *oexec.Cmd

NodeExec builds a command to run a script with Node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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