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

@duckcodeailabs/dql-cli

v0.8.5

Published

Public CLI for parsing, formatting, testing, and certifying DQL blocks

Readme

@duckcodeailabs/dql-cli

Official command-line interface for DQL.

Use the CLI to scaffold projects, validate blocks, preview charts locally, and build static bundles without DuckCode Studio.

Install

For local preview with file/DuckDB-backed starter data, use Node 18, 20, or 22 LTS. If you change Node versions after installing dependencies, rerun pnpm install so native modules are rebuilt for the active runtime.

npm install -g @duckcodeailabs/dql-cli

Or run it without a global install:

npx @duckcodeailabs/dql-cli --help

From this repo, you can also run:

pnpm exec dql --help

Quick Start

These commands assume dql is installed globally. From a source checkout, use pnpm exec dql from the repo root or ../node_modules/.bin/dql from the generated project.

dql init my-dql-project
cd my-dql-project
dql new block "Pipeline Health"
dql new semantic-block "ARR Growth"
dql new dashboard "Revenue Overview"
dql doctor
dql preview blocks/pipeline_health.dql --open

Core Commands

  • dql init [directory] — create a starter DQL project
  • dql new block <name> — scaffold a new DQL block in the current project
  • dql new semantic-block <name> — scaffold a semantic block plus companion YAML files
  • dql new dashboard <name> — scaffold a new dashboard in dashboards/
  • dql new workbook <name> — scaffold a new workbook in workbooks/
  • dql doctor [path] — check local setup, config, and starter folders
  • dql parse <file.dql> — parse and validate a DQL block
  • dql fmt <file.dql> — format a DQL file
  • dql test <file.dql> — run DQL assertions
  • dql certify <file.dql> — run certification checks
  • dql preview <file.dql> — preview a block in the browser
  • dql build <file.dql> — build a static bundle in dist/
  • dql serve [directory] — serve a built bundle locally

Learn More