Socket
Book a DemoInstallSign in
Socket

@firetiger-oss/flight-sql-client

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firetiger-oss/flight-sql-client

A TypeScript/JavaScript client for Apache Arrow Flight and Flight SQL protocols

latest
npmnpm
Version
1.1.1
Version published
Weekly downloads
5
-54.55%
Maintainers
3
Weekly downloads
 
Created
Source

flight-sql-client

A TypeScript/JavaScript client for Apache Arrow Flight and Flight SQL protocols.

Installation

npm install @firetiger-oss/flight-sql-client

Quick Start

import { FlightSQLClient } from "@firetiger-oss/flight-sql-client";

const client = new FlightSQLClient({
  host: "localhost",
  port: 4317,
  plaintext: true,
  token: "your-bearer-token",
});

// This 'table' has type Arrow.dom.Table
// https://arrow.apache.org/js/current/classes/Arrow.dom.Table.html
const table = await client.executeQuery("SELECT count(*) AS n FROM logs");
// Use the 'toArray()' method to convert the table to an array of row objects, for example:
// [ {"n": 3} ]
console.log(table.toArray());

await client.close();

Dependencies

  • @grpc/grpc-js - gRPC implementation
  • apache-arrow - Arrow data format support

Keywords

arrow

FAQs

Package last updated on 10 Dec 2025

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