Glazed Help Browser

Packages

Available packages

Sections

Terminology & Glossary
📖 Documentation
Navigation
38 sectionsv0.1
📄 Documentation

Documentation Index

38 sections available

📖 Topics

Auth module guide

Use the generated-host auth module from JavaScript to query audit records and issue, validate, consume, or revoke capability tokens.

Bun Bundling Playbook for Goja

End-to-end guide for bundling TypeScript + assets with Bun and running them in Goja.

Crypto Module

Generate UUIDs, random bytes, and SHA/MD5 hashes from JavaScript

Database Module

Run SQL queries from JavaScript against sqlite3 or any Go database/sql driver

Events Module

Node-style EventEmitter backed by Go-native dispatch

Exec Module

Run external host commands from JavaScript

Express Auth User Guide

Configure and use Go-owned planned authentication for Express-style Goja HTTP routes.

Express-style HTTP Module

Host Goja HTTP routes with an Express-style JavaScript API

File System Module

Promise-based and synchronous file system helpers for Goja runtimes

HashiCorp plugin developer guide for go-go-goja

Detailed architecture guide for how runtime-scoped HashiCorp plugin support is implemented inside go-go-goja.

Inspector API Hybrid Service Guide

Build inspector workflows with the new pkg/inspectorapi facade and cleanly separate UI adapters from analysis/runtime logic.

Introduction to go-go-goja

A Node.js-style JavaScript runtime sandbox with native Go modules

JSParse Framework Reference

Public reusable parsing, indexing, resolution, and completion APIs in pkg/jsparse

jsverbs-example reference

Reference for metadata, inference rules, bindings, output modes, and runtime behavior in the JavaScript verb prototype.

Node.js Primitives in go-go-goja

Reference for the built-in Node.js-style primitives exposed to JavaScript runtimes.

OS Module

Inspect host operating system properties from JavaScript

Path Module

Cross-platform filepath manipulation helpers

Time Module

Monotonic timing helpers for JavaScript-side performance measurements

Timer Module

Promise-based sleep and delay helpers

ui.dsl Module

Render safe server-side HTML nodes from Goja JavaScript

Using HashiCorp Plugins with go-go-goja

User guide and surface reference for loading external HashiCorp go-plugin modules into go-go-goja runtimes.

Using replapi for Long-Lived REPL Sessions

Embed stateful Goja sessions, add SQLite replay, or expose the protobuf-JSON API

Using the docs Module

Reference and usage guide for the runtime-scoped docs module that exposes help pages, jsdoc entries, and plugin metadata.

YAML Module

Parse, stringify, and validate YAML from JavaScript

📄 Examples

jsverbs-example fixture format

Metadata and fixture patterns supported by the prototype JavaScript verb runner.

Using the Interactive REPL

Interactive JavaScript evaluation with native module access

📦 Applications

jsverbs-example overview

How the example runner scans JavaScript files, turns them into Glazed verbs, and executes them.

🎓 Tutorials

Asynchronous Patterns with Promises

Implementing Promise-based and callback-style async operations

Connected EventEmitter Developer Guide

Build opt-in Go resource helpers that deliver events to JavaScript-created EventEmitter instances safely.

Creating Native Modules

Step-by-step guide to implementing Go modules for JavaScript

Deploying an Express auth host

Deploy a Keycloak-backed go-go-goja Express auth host with GHCR, GitOps, Vault, Postgres, and Argo CD.

Express Auth Examples

Run the dev-auth, generated-host, and Keycloak examples for planned Express authentication.

Inspector Example User Guide

How to use cmd/inspector as an example consumer of pkg/jsparse and when to prefer pkg/inspectorapi

jsverbs-example developer guide

Intern-friendly guide to how JavaScript verb scanning, command compilation, and runtime execution work in go-go-goja.

Migrate Express Apps to Planned Auth Routes

Update old Express-style Goja route handlers to the explicit planned auth route API.

Protobuf Builders for Goja

Generate Goja-native fluent builders for protobuf messages and recover concrete Go messages without JSON round trips.

Tutorial: build and install a go-go-goja plugin

Build a minimal HashiCorp plugin binary, install it into a plugin directory, and call it from the REPL.

TypeScript Declaration Generator for Native Modules

Generate deterministic `.d.ts` files from Go module descriptors and enforce drift checks in CI.