process

package
v0.0.0-...-e62627f Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package process provides the explicit process.env ESM module.

Index

Constants

View Source
const ModuleName = "process"

Variables

This section is empty.

Functions

func InstallGlobal

func InstallGlobal(ctx *quickjs.Context, options ...Option) error

func Module

func Module(options ...Option) module.Definition

Types

type Config

type Config struct {
	Env EnvProvider
}

type EnvProvider

type EnvProvider func() map[string]string

type Option

type Option func(*Config)

func WithEnvProvider

func WithEnvProvider(provider EnvProvider) Option

func WithEnvSnapshot

func WithEnvSnapshot(values map[string]string) Option

Jump to

Keyboard shortcuts

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