feat(devtools): add @choojs/devtools — window.choo console tooling

Carries forward the choo-devtools 3.x essentials: live state handle,
emit-from-console, event log, nanotiming measures via PerformanceObserver,
state copy(), help(). No-op on the server; verbose logging opt-in via
localStorage.CHOO_DEVTOOLS_VERBOSE.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014NgfSjHE11oFpoSnLVKLXd
This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-08 18:57:51 +02:00
co-authored by Claude Fable 5
parent d22f996596
commit fd1d05cea0
4 changed files with 152 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "@choojs/devtools",
"version": "8.0.0-dev",
"description": "Console devtools for choo: window.choo, event log, perf timings",
"type": "module",
"exports": {
".": "./index.js"
},
"files": [
"index.js"
],
"engines": {
"node": ">=24"
},
"repository": "choojs/choo",
"keywords": [
"choo",
"devtools",
"debug"
],
"license": "MIT"
}