npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bonnard/cli

v0.3.11

Published

<p align="center"> <a href="https://www.bonnard.dev"> <picture> <source media="(prefers-color-scheme: dark)" srcset="./assets/banner-dark.png" /> <source media="(prefers-color-scheme: light)" srcset="./assets/banner-light.png" /> <

Readme


BI tools serve one UI. Bonnard serves everything. Agents over MCP, apps over SDK, dashboards in markdown, internal tools via REST. One set of metric definitions, every consumer gets the same governed answer.

Traditional semantic layers were built for dashboards and retrofitted for AI. Agents get different answers than dashboards, metrics drift across tools, and every new surface means another integration. Bonnard was built agent-native from day one. MCP is a core feature, not a plugin. One CLI, one schema, every consumer gets the same governed answer.

Quick Start

No install required. Run directly with npx:

npx @bonnard/cli init

Or install globally:

npm install -g @bonnard/cli

Then follow the setup flow:

bon init                      # Scaffold project + agent configs
bon datasource add            # Connect your warehouse
bon validate                  # Check your models locally
bon login                     # Authenticate
bon deploy -m "initial deploy" # Ship it

Your semantic layer is now live. Agents, dashboards, and the SDK all query the same governed metrics.

No warehouse yet? Start exploring with a full retail demo dataset:

bon datasource add --demo

Requires Node.js 20+.

What You Get

  • Agent context out of the box. bon init generates rules and skills for Claude Code, Cursor, and Codex so agents understand your semantic layer from the first prompt.
  • MCP server for governed agent queries. Set up with bon mcp, test with bon mcp test.
  • Markdown dashboards with BigValue, LineChart, BarChart, AreaChart, PieChart, and DataTable components. Preview locally with bon dashboard dev, deploy with bon dashboard deploy.
  • JSON and SQL querying from the terminal via bon query and bon schema, or programmatically via the REST API.
  • Deployment versioning with change tracking (bon diff), annotations (bon annotate), and full history (bon deployments).
  • CI/CD support. Run bon deploy --ci -m "message" for non-interactive pipelines.

Supported Data Sources

Warehouses: Snowflake (including Snowpark), Google BigQuery, Databricks (SQL warehouses and Unity Catalog), PostgreSQL (including Supabase, Neon, and RDS), Amazon Redshift, DuckDB (including MotherDuck)

Data tools: dbt (model and profile import), Dagster, Prefect, Airflow (orchestration), Looker, Cube, Evidence (existing BI layers), SQLMesh, Soda, Great Expectations (data quality)

Bonnard auto-detects your warehouses and data tools. Point it at your project and it discovers schemas, tables, and relationships.

Ecosystem

  • @bonnard/sdk: query the semantic layer from any JavaScript or TypeScript application
  • @bonnard/react: React chart components and a markdown dashboard viewer

Commands

| Command | Description | | --- | --- | | bon init | Scaffold a new project with agent configs | | bon datasource add | Connect a data source (or --demo for sample data) | | bon validate | Validate YAML syntax locally | | bon deploy -m "message" | Deploy to production | | bon pull | Download deployed models to local project | | bon query | Run queries (JSON or SQL) | | bon schema | Explore deployed measures, dimensions, and views | | bon dashboard dev | Preview a markdown dashboard locally | | bon dashboard deploy | Deploy a dashboard | | bon mcp | MCP server setup instructions | | bon keys create | Create a publishable or secret API key | | bon docs | Browse documentation from the CLI |

See the full CLI reference for all commands and flags.

Documentation

| Guide | Description | | --- | --- | | Getting Started | From zero to deployed in minutes | | CLI Reference | Every command, flag, and option | | Modeling Guide | Cubes, views, metrics, and dimensions | | Dashboards | Markdown dashboards with charts, inputs, and theming | | SDK | TypeScript SDK and React components | | Querying | JSON and SQL query syntax | | Changelog | What shipped and when |

Community

Contributions are welcome. If you find a bug or have an idea, open an issue or submit a pull request.