@proxman-io/core
v0.2.1
Published
ProxManLib core — auth, transport, TLS, error normalization for Proxmox VE
Downloads
275
Maintainers
Readme
@proxman-io/core
Auth, transport, TLS, and error normalization for ProxManLib.
Exports
createClient(config)— typed HTTP client over Proxmox VE REST APIparseApiToken(token)/buildBaseUrl(host, port?)createTlsPolicy(config)/loadCaCert(path)/validateFingerprint(cert, fingerprint)/createHttpsAgent(policy)normalizeProxmoxError(error)/proxmoxErrorFromResponse(...)- Type guards:
isAuthError,isPermissionError,isNotFoundError,isTaskConflictError,isProxManError formatUserSafeError(error)
See the root README for full documentation.
