Skip to main content
Version: 0.1.22
Last Verified: 2025-01-27
Package: @hopx-ai/sdk on npm

Overview

The JavaScript SDK provides comprehensive TypeScript type definitions for all API responses and objects.

Core Types

SandboxInfo

Sandbox information type.

TemplateInfo

Template information type.

ExecutionResult

Result of code execution.

CommandResponse

Result of command execution.

FileInfo

File or directory information.

Options Types

SandboxCreateOptions

Options for creating a sandbox.

CodeExecutionOptions

Options for code execution.

CommandOptions

Options for command execution.

  • Errors - Error classes and exception handling
  • Sandbox - Use types with sandbox operations

See Also

Next Steps

Now that you understand TypeScript types, explore: