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

@spark-connect-js/core

v0.4.0

Published

Pure TypeScript core: logical DataFrame API and Spark Connect plan builder, with no runtime dependencies

Downloads

182

Readme

@spark-connect-js/core

npm version CI codecov License

DataFrame API and logical plan builder for Spark Connect, in pure TypeScript with zero runtime dependencies.

Note: This project is in early development (v0.4.0) and is not recommended for production usage, but feedback is very welcome on GitHub.

Install

npm install @spark-connect-js/core

Most applications install @spark-connect-js/node instead, which re-exports this package and adds a transport. Install core directly only if you're writing your own runtime adapter (Bun, Deno, browser, custom RPC).

Quick example

import { SparkSession, col, lit, sum, desc, type Transport } from "@spark-connect-js/core";

const spark = new SparkSession(transport);

const df = spark
  .table("events")
  .filter(col("ts").gt(lit("2025-01-01")))
  .groupBy("category")
  .agg(sum("amount").alias("total"))
  .sort(desc("total"));

Provides SparkSession, DataFrame, Column, Catalog, WindowSpec, DataFrameWriter, DataFrameWriterV2, GroupedData, DataFrameStat, the typed error hierarchy, and the built-in function set. Plans are serialized to Spark Connect protobuf, but no I/O happens here; you supply the Transport.

The Transport interface

A runtime adapter implements Transport (one method per Spark Connect RPC) and hands it to SparkSession. The full interface and the contract for each method are in the architecture guide. @spark-connect-js/node is the reference implementation built on @grpc/grpc-js and apache-arrow.

Documentation

Full docs at prustic.github.io/spark-connect-js.

License

Apache-2.0