JavaScript dataframe libraries

Updated Nov 2026

JavaScript dataframe libraries load tabular data into tables of named columns for filtering, grouping, and joining. Each transform returns a new table for the next step to read. These libraries prepare the data behind charts, dashboards, and reports in JavaScript apps and Node.js services.

Popularity

nodejs-polars has the most monthly downloads in this comparison, at 1.1M.

LibraryMonthly downloadsStarsLast releaseLicense
nodejs-polars
1.1M
764Nov 2026MIT
Arquero
358.5K
1.5KMay 2025BSD-3-Clause
Tidy
201.6K
762Apr 2026MIT
@perspective-dev/client
134.2K
11.6KNov 2026Apache-2.0
Data-Forge
96.9K
1.4KMay 2026MIT
DataFrame-js
52.9K
459Oct 2020MIT
Danfo.js
38.0K
5.1KApr 2025MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

nodejs-polars

Provides server-side dataframes with column expressions and lazy query graphs.

Downloads / mo
1.1M
Stars
764
Last release
0.26.2
License
MIT

Strengths

  • Collects optimized lazy queries. Build a query graph before materializing its dataframe.
  • Matches nearest time-series keys. Use as-of joins when timestamps do not match exactly.

Limitations

  • Targets server-side JavaScript runtimes. Use a different package when computation belongs in browsers.
  • As-of joins require sorted keys. Sort both inputs before matching nearest observations.

Quickstart

From README.md
$ npm install nodejs-polars@0.26.2
const pl = require("nodejs-polars");
const df = pl.DataFrame({ name: ["A", "B"], score: [1, 3] });
console.log(df.select(pl.col("score").mean()).toString());

Transforms array-backed column tables through relational verbs, expressions, and window operations.

Downloads / mo
358.5K
Stars
1.5K
Last release
8.0.3
License
BSD-3-Clause

Strengths

  • Reuses columns across transformations. Chain table verbs while limiting duplicated column data.
  • Summarizes and reshapes tables. Combine grouped rollups, joins, and reshaping in one fluent API.

Limitations

  • Parsed expressions cannot capture variables. Pass external values through query parameters or escape functions.
  • Escaped functions restrict query portability. They disable aggregate/window operations and prevent query serialization.

Quickstart

From README.md
$ npm install arquero@8.0.3
import { table, op } from "arquero";
const rows = table({ group: ["A", "A", "B"], score: [1, 3, 2] });
const result = rows.rollup({ total: d => op.sum(d.score) });
console.log(result.objects());

Arquero examples

From open-source projects on GitHub
export function useIsMicrodata(table?: ColumnTable, column?: string): boolean {
	return useMemo(() => {
		if (!(table && column)) return true
		const rows = table.numRows()
		const unique = agg(table, op.distinct(column))
		return rows === unique
	}, [table, column])
}

Transforms arrays of JavaScript objects with verbs modeled on dplyr and the tidyverse.

Downloads / mo
201.6K
Stars
762
Last release
2.6.1
License
MIT

Strengths

  • Chains dplyr-style verbs. Pass rows through tidy() with filter, mutate, arrange, and select steps.
  • Groups rows for summaries. Export grouped results in several shapes after groupBy.

Quickstart

From README.md
$ npm install @tidyjs/tidy@2.6.1
import { tidy, summarize, sum } from "@tidyjs/tidy";
const rows = [{ group: "A", score: 1 }, { group: "B", score: 3 }];
console.log(tidy(rows, summarize({ total: sum("score") })));

@perspective-dev/client

Runs a streaming query engine for data grids, pivot tables, and charts in the browser, in Node.js, or over WebSocket.

Downloads / mo
134.2K
Stars
11.6K
Last release
5.9.3
License
Apache-2.0

Strengths

  • Streams table updates. Apply update and remove calls to a table as data arrives.
  • Pages large tables to disk. Page a table's columns to disk to work past memory limits.

Limitations

  • Needs WebAssembly setup. Load the client and server WebAssembly files before creating tables.

Quickstart

From README.md
$ npm install @perspective-dev/client@5.9.3 @perspective-dev/server@5.9.3
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const perspective = require("@perspective-dev/client");
const table = await perspective.table([{ region: "West", sales: 12.5 }]);
console.log(table);

Transforms immutable indexed dataframes and series using lazy JavaScript iterators.

Downloads / mo
96.9K
Stars
1.4K
Last release
1.10.5
License
MIT

Strengths

  • Defers pipeline evaluation. Compose transformations before requesting materialized results.
  • Provides grouped and rolling sequences. Build grouped summaries and window-based transformations.

Limitations

  • File access requires an extension. Install data-forge-fs for filesystem reads and writes.

Quickstart

From guide.md
$ npm install data-forge@1.10.5
import { DataFrame } from "data-forge";
const df = new DataFrame([{ score: 1 }, { score: 3 }]);
console.log(df.where(row => row.score > 1).toArray());

Data-Forge examples

From open-source projects on GitHub

DataFrame-js

Provides an immutable, functional dataframe structure.

Downloads / mo
52.9K
Stars
459
Last release
1.4.4
License
MIT

Strengths

  • Works on rows and columns. Filter, join, and group rows through a SQL-inspired functional API.

Limitations

  • File features need Node.js. File system features are missing from the browser build.

Quickstart

From dataframe.md
$ npm install dataframe-js@1.4.4
import { DataFrame } from "dataframe-js";
const df = new DataFrame([{ score: 1 }, { score: 3 }]);
console.log(df.filter(row => row.get("score") > 1).toCollection());

Provides labeled data structures for manipulating and processing structured data.

Downloads / mo
38.0K
Stars
5.1K
Last release
1.2.0
License
MIT

Strengths

  • Follows the Pandas API. Port Pandas code with similar DataFrame and Series methods.
  • Converts data to tensors. Convert a DataFrame into TensorFlow.js tensors for model input.

Quickstart

From index.ts
$ npm install danfojs@1.2.0
import * as dfd from "danfojs";
const df = new dfd.DataFrame({ name: ["A", "B"], score: [1, 3] });
df.print();

FAQ

Arquero is a JavaScript library for query processing and transformation of array-backed data tables. Its verbs follow relational algebra, with filter, aggregation, window, join, and reshaping operations.

Danfo.js explicitly follows Pandas and provides a similar API.

Data-Forge queues iterator-based operations and evaluates them when results are required. Node Polars represents lazy computation graphs that can be collected into dataframes.

Parsed expressions cannot access enclosing-scope variables; query parameters or escaped functions handle external values.

Escaping supports closures but disables aggregate/window operations and prevents serializing the query.

Transformations produce a new immutable dataset.

For coding agents

Found your dataframe library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official