
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
@perspective-dev/client
Advanced tools
Streaming query engine for data grids, pivot tables and charts over large, real-time datasets — WebAssembly in the browser, native in Node.js, or remote over WebSocket.
@perspective-dev/clientPerspective is an open-source data grid, pivot table and charting component for large, real-time and streaming datasets.
@perspective-dev/client is the JavaScript and TypeScript API for
Perspective's streaming query engine. The same Client connects to an engine
running in a Web Worker (WebAssembly), in-process in Node.js, or remotely over
WebSocket to a Python, Node.js or Rust server. It provides:
Table, a columnar, optionally indexed store which accepts
Apache Arrow, CSV and JSON, and streams
update() and remove() calls in real time. With page_to_disk, a
Table pages its columns to disk (OPFS in the browser) to exceed memory.View, an incrementally-maintained query over a Table: group_by,
split_by pivots, aggregates, filters, sorts and columnar expressions.View
configurations into native SQL.npm install @perspective-dev/client @perspective-dev/server
import perspective from "@perspective-dev/client";
import CLIENT_WASM from "@perspective-dev/client/dist/wasm/perspective-js.wasm";
import SERVER_WASM from "@perspective-dev/server/dist/wasm/perspective-server.wasm";
await perspective.init({
client: fetch(CLIENT_WASM),
server: fetch(SERVER_WASM),
});
const worker = await perspective.worker();
const table = await worker.table({ region: "string", sales: "float" });
const view = await table.view({
group_by: ["region"],
columns: ["sales"],
aggregates: { sales: "sum" },
});
view.on_update(async () => console.log(await view.to_json()));
await table.update([{ region: "West", sales: 12.5 }]);
In Node.js the engine runs in-process, and the module exports the API directly:
const perspective = require("@perspective-dev/client");
const table = await perspective.table(data);
To render a Table as a data grid, pivot table or chart, see
@perspective-dev/viewer.
FAQs
Streaming query engine for data grids, pivot tables and charts over large, real-time datasets — WebAssembly in the browser, native in Node.js, or remote over WebSocket.
The npm package @perspective-dev/client receives a total of 0 weekly downloads. As such, @perspective-dev/client popularity was classified as not popular.
We found that @perspective-dev/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.