New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

opik-ts

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opik-ts

The Opik configure tool helps you to configure your Node.js project with Opik SDK

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
3
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Opik TS ✨

The Opik TS tool helps you quickly add Opik SDK to your Node.js project for LLM observability and tracing.

⚠️ Experimental: This tool is still in an experimental phase.

Usage

Quick Start

npx opik-ts configure

This will guide you through the setup process interactively.

Quick Local Setup

For local development with a local Opik instance:

npx opik-ts configure --use-local

This skips API key and workspace prompts and automatically configures for local deployment (http://localhost:5173/api).

Options

The following CLI arguments are available:

OptionDescriptionTypeDefaultEnvironment Variable
--helpShow helpboolean
--versionShow version numberboolean
--debugEnable verbose loggingbooleanfalseOPIK_TS_DEBUG
--defaultUse default options for all promptsbooleantrueOPIK_TS_DEFAULT
--force-installForce install packages even if peer dependency checks failbooleanfalseOPIK_TS_FORCE_INSTALL
--install-dirDirectory to install Opik SDK instringOPIK_TS_INSTALL_DIR
--use-localConfigure for local deployment (skips API key/workspace setup prompts)booleanfalseOPIK_TS_USE_LOCAL

Development

To develop the CLI locally:

pnpm try --install-dir=[a path]

To build and use the tool globally:

pnpm build
pnpm link --global
opik-ts [options]

Contributing

This CLI is part of the Opik project. For contributing guidelines, please see the main Opik repository.

Keywords

opik

FAQs

Package last updated on 09 Oct 2025

Related posts