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

@nightmarket/tiao

v0.7.0

Published

A themeable, draggable debug pane for tweaking parameters. Vanilla TS core, React hooks, and optional plugins.

Readme

tiao

A themeable, draggable debug pane with a vanilla TypeScript API, React hooks, performance and export panes, and optional input plugins.

Built on ideas and code from tweakpane by cocopon, leva by pmndrs, and baku89.

npm install @nightmarket/tiao
import { mountPane } from '@nightmarket/tiao'

const dispose = mountPane({ title: 'Debug' }, (pane) => {
  pane.addBinding(params, 'speed', { min: 0, max: 4 })
})

Everything ships in one package with tree-shakeable subpath exports:

  • @nightmarket/tiao — production-safe lazy pane mounting
  • @nightmarket/tiao/core — eager pane API for production-visible tooling
  • @nightmarket/tiao/react — React hooks
  • @nightmarket/tiao/perf-pane — performance monitors
  • @nightmarket/tiao/export-pane — PNG, WebM, and MP4 export
  • @nightmarket/tiao/plugin-fps
  • @nightmarket/tiao/plugin-bezier
  • @nightmarket/tiao/plugin-radio-grid
  • @nightmarket/tiao/plugin-media
  • @nightmarket/tiao/plugin-camera
  • @nightmarket/tiao/styles.css — optional static stylesheet

The package is ESM-only.

React is an optional peer dependency and is only required for @nightmarket/tiao/react. The core injects its styles automatically; importing @nightmarket/tiao/styles.css disables that runtime injection.

useControls and mountPane work without application-level environment checks. Gating resolves from one canonical env variable, DEBUG_LEVEL, read through your bundler's client-exposure prefix (NEXT_PUBLIC_DEBUG_LEVEL in Next.js, VITE_DEBUG_LEVEL in Vite, bare DEBUG_LEVEL for Node or a custom define): 0 disables everything, 1 arms a runtime ?debug URL toggle that lazy-loads the pane, and 2 enables by default (?debug=false turns it off). Unset falls back to NODE_ENV — pane in development, no-op in production. Production builds resolve through the production export condition, which Vite applies on its own; esbuild, Rollup, and webpack may need production added to their resolve conditions. Bundlers that skip it fall back to the development build, where the UI still sits behind a dynamic import — this is also what level 1 needs in a production deployment, since the stripped build contains no pane code and neither setTiaoEnabled(true) nor ?debug=true can bring it back. Use @nightmarket/tiao/core for controls that must exist in a shipped build.

See the full documentation.