🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@starfetch-js/core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@starfetch-js/core

TypeScript library for querying Gaia, SIMBAD, VizieR, and other public astronomy TAP services with reproducible ADQL.

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
45
-80.85%
Maintainers
1
Weekly downloads
 
Created
Source

@starfetch-js/core

TypeScript primitives for querying Gaia, SIMBAD, VizieR, the NASA Exoplanet Archive, IRSA, and other public astronomy TAP services. Use this package for a script, application, or custom agent adapter that needs reproducible ADQL, live VOSI metadata, TAP/UWS jobs, VOTable parsing, registry discovery, and structured output conversion.

npm install @starfetch-js/core
import { tap } from "@starfetch-js/core";

const client = tap("gaia");
const columns = await client.columns("gaiadr3.gaia_source");
const result = await client.query(
  "SELECT TOP 5 source_id, ra, dec FROM gaiadr3.gaia_source",
  { format: "votable", maxrec: 5 },
);

console.log(columns.length);
console.log(await result.fields());
console.log(await result.overflow());
console.log(await result.json());

Inspect current tables and columns before constructing service-specific ADQL; use both ADQL TOP and TAP MAXREC for exploratory bounds. This package is for public TAP access and does not implement authentication or scientific interpretation. Use @starfetch-js/mcp for an agent-ready server or @starfetch-js/cli for scripting.

Keywords

astronomy

FAQs

Package last updated on 25 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts