util

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: 5 Imported by: 0

Documentation

Overview

Package util provides a small Node-compatible utility module for QuickJS.

Index

Constants

View Source
const ModuleName = "util"

Variables

This section is empty.

Functions

func ExtendedModule

func ExtendedModule() module.Definition

Module returns the util and node:util ESM module definition.

func Format

func Format(ctx *quickjs.Context, args []*quickjs.Value) string

Format applies the format-string rules used by util.format.

func Module

func Module() module.Definition

Module returns the util and node:util ESM module definition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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