nodejs-polars is a Node.js binding for the Polars DataFrame library, built on Rust for performance. Version 0.24.1 requires Node >= 20, ships TypeScript types, and supports ESM and CJS. It provides fast data manipulation via lazy and eager APIs, with features like groupby, join, sort, and window functions. Key differentiators: significantly faster than pandas, lower memory usage, and a more expressive API. Released frequently (weekly/monthly), tracking the Rust core.
npm install nodejs-polarsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a DataFrame, filtering, grouping, and the lazy API with collect.
Use default import for the main pl object.
Use `await lf.collect()` and ensure calling context is async.
Pass arguments as a configuration object instead of positional booleans.
Use `.get(idx)` for negative indices or slice.
Upgrade to Node.js >=20.
Continue using `pl.lit()` as it's still current.
Use `import pl from 'nodejs-polars'` in your code, or ensure your Node.js version supports ESM and add `"type": "module"` to your package.json.
Use `pl.DataFrame({...})` directly for constructing DataFrames.Use `await lf.collect()` and ensure the surrounding function is async.
No dependency data recorded yet.