npm install hyperparam


!coverage
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:
``sh`
npx hyperparam
You can also pass a specific file, folder, or url:
`sh`
npx hyperparam example.parquet
npx hyperparam directory/
npx hyperparam https://hyperparam-public.s3.amazonaws.com/bunnies.parquet
To start a chat with hyperparam:
`sh`
npx hyperparam chat
Install for all users:
`sh`
sudo npm i -g hyperparam
Now you can just run:
`sh`
hyperparam
or:
`sh`
hyp
To develop the CLI locally:
`sh`
npm i
npm run dev
The 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:
`js`
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:
`js``
import { defineConfig } from "vite";
export default defineConfig({
...
optimizeDeps: {
exclude: ["hyperparam"],
},
});