Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Import package exports

Root SDK

The root entry exports createClient, tagged static classes for every service, and all generated request and response types.
import { createClient, egovAi } from "egov.js"; import type { EgovAiPromptRequest } from "egov.js";
The package ships matching ESM, CommonJS, and TypeScript declaration outputs.
const { createClient } = require("egov.js");
Service and /types subpaths from the handwritten SDK are no longer exported.

OpenAPI document

Import the canonical OpenAPI 3.1 JSON document directly:
import openapi from "egov.js/openapi.json" with { type: "json" }; console.log(Object.keys(openapi.paths));
CommonJS consumers can require it:
const openapi = require("egov.js/openapi.json");
External generators can resolve the installed file:
import { fileURLToPath } from "node:url"; const openapiPath = fileURLToPath(import.meta.resolve("egov.js/openapi.json"));
The public export boundary is intentionally small: egov.js, egov.js/openapi.json, and egov.js/package.json.