This is the hyperparam cli tool.
The hyperparam cli tool is for viewing arbitrarily large datasets in the browser.
To open a file browser in your current local directory run:
npx hyperparamYou can also pass a specific file, folder, or url:
npx hyperparam example.parquet
npx hyperparam directory/
npx hyperparam https://hyperparam-public.s3.amazonaws.com/bunnies.parquetTo start a chat with hyperparam:
npx hyperparam chatInstall for all users:
sudo npm i -g hyperparamNow you can just run:
hyperparamor:
hypTo develop the CLI locally:
npm i
npm run devThe application will be rebuild automatically when you make changes, and the browser will refresh.
Hyperparam is an application that relies on node.js scripts in the bin/ directory and serves the static web application built in the dist/ directory.
The hyperparam package also includes a library that can be used in other applications. The library is in the lib/ directory. For example:
import { asyncBufferFrom, AsyncBufferFrom, parquetDataFrame } from "hyperparam";If you encounter any issues with the web worker, you might have to configure your bundler. For example, in Vite, you can use the following configuration:
import { defineConfig } from "vite";
export default defineConfig({
...
optimizeDeps: {
exclude: ["hyperparam"],
},
});