npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

galileo-generated

v0.2.11

Published

Developer-friendly & type-safe Typescript SDK specifically catered to leverage Galileo API.

Readme

galileo-generated

Developer-friendly & type-safe Typescript SDK specifically catered to leverage Galileo API.

Summary

Table of Contents

SDK Installation

The SDK can be installed with either npm, pnpm, bun or yarn package managers.

NPM

npm add galileo-generated

PNPM

pnpm add galileo-generated

Bun

bun add galileo-generated

Yarn

yarn add galileo-generated

[!NOTE] This package is published with CommonJS and ES Modules (ESM) support.

Setup

Set the following environment variables:

GALILEO_API_KEY: Your Galileo API key
or
GALILEO_USERNAME: Your Galileo username
GALILEO_PASSWORD: Your Galileo password

GALILEO_PROJECT: (Optional) Project name
GALILEO_LOG_STREAM: (Optional) Log stream name

Note: if you would like to point to an environment other than app.galileo.ai, you'll need to set the GALILEO_CONSOLE_URL environment variable.

Code Generation Instructions

NPM Script

  1. Install the Speakeasy CLI (instructions here);
  2. Execute following script:
npm run code-generation

Github Actions

Execute action Generate SDK to trigger a new PR with proposed changes based on code generation. The PR has to be reviewed to be merged. If you are in the SDK team on Galileo org, you'll see an additional option to filter out generated files, to help validate only custom code (not Speakeasy-generated);

Implementing features or bug fixes

  • Some directories and files are safe to be edited without being overwritten by codegen:
    • /src/entities
    • Some custom /lib files
    • Test files
  • For editing package.js (dependencies, scripts), update file .speakeasy/gen.yaml. Most common options are mirrored by a Speakeasy attribute;

Release Instructions

Release is managed by workflow Release-Please. Every commit to main will trigger generation of a "Release PR" for review, when this is approved the version bump is merged back to main, release notes are updated and the workflow generates a new release on Github (new tag) and new package in NPM.

If a release PR already exists, new commits will be bundled into it until someone approves and merges into main.

[!NOTE] Release-Please is triggered by commits formatted according to Semantic Release standards. Squash and merge is the preferable option to resolve a PR, since it preserves the commit title (which is already validated by workflow rules in the project). If you choose another strategy, make sure the commit title follows Semantic Release rules so that it triggers Release-Please.

Requirements

For supported JavaScript runtimes, please consult RUNTIMES.md.

SDK Example Usage

Example

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated({
  apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
});

async function run() {
  const result = await galileoGenerated.health.healthcheckHealthcheckGet();

  console.log(result);
}

run();

Authentication

Per-Client Security Schemes

This SDK supports the following security scheme globally:

| Name | Type | Scheme | Environment Variable | | -------------- | ------ | ------- | --------------------------------- | | apiKeyHeader | apiKey | API key | GALILEOGENERATED_API_KEY_HEADER |

To authenticate with the API the apiKeyHeader parameter must be set when initializing the SDK client instance. For example:

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated({
  apiKeyHeader: process.env["GALILEOGENERATED_API_KEY_HEADER"] ?? "",
});

async function run() {
  const result = await galileoGenerated.health.healthcheckHealthcheckGet();

  console.log(result);
}

run();

Per-Operation Security Schemes

Some operations in this SDK require the security scheme to be specified at the request level. For example:

import { GalileoGenerated } from "galileo-generated";

const galileoGenerated = new GalileoGenerated();

async function run() {
  const result = await galileoGenerated.datasets.createDatasetDatasetsPost(
    {},
    {},
  );

  console.log(result);
}

run();

Available Resources and Operations

Auth

Data

Datasets

Experiment

ExperimentTags

Health

Integrations

Jobs

LlmIntegrations

LogStream

Projects

Prompts

Protect

Rows

RunScorerSettings

Stage

Trace

Standalone functions

All the methods listed above are available as standalone functions. These functions are ideal for use in applications running in the browser, serverless runtimes or other environments where application bundle size is a primary concern. When using a bundler to build your application, all unused functionality will be either excluded from the final bundle or tree-shaken away.

To read more about standalone functions, check FUNCTIONS.md.