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

@geenius/devtools

v0.1.0

Published

Geenius DevTools — In-app developer overlays with framework-agnostic core and React/SolidJS UI variants

Downloads

84

Readme

@geenius/devtools

Studio-only developer tooling for Geenius applications. The package combines a framework-agnostic development helper API with optional visual surfaces for debugging feature flags, routes, render timing, provider activity, local seed data, and GitHub issue capture.

The root entrypoint is safe for framework-agnostic helper imports. Visual panels only load when an application imports a UI subpath such as @geenius/devtools/react or @geenius/devtools/react-native.

Install

pnpm add @geenius/devtools

Install the matching framework peer dependencies for the UI subpath you use, for example react and react-dom for web React or react and react-native for the native surface.

Usage

Framework-agnostic helpers come from the package root:

import {
  FeatureFlagManager,
  createSlowOpMonitor,
  devAssert,
  devMeasureRender,
  devLog,
  generateMocks,
} from '@geenius/devtools'

type StudioFlag = 'studio.devtools.panel' | 'providers.convex.spy'

const flags = new FeatureFlagManager<StudioFlag>()
flags.set('studio.devtools.panel', true, {
  description: 'Show Studio diagnostics',
})
flags.set('providers.convex.spy', false)

devAssert(flags.isEnabled('studio.devtools.panel'), 'Studio panel is disabled')
devLog('devtools enabled')

const stopRenderMeasure = devMeasureRender('DevToolbar')
stopRenderMeasure?.()

const monitor = createSlowOpMonitor(100)
const loadedFlags = await monitor.track('load flags', async () =>
  flags.getAllFlags(),
)
const mockUsers = generateMocks(2, (index) => ({
  id: `user-${index + 1}`,
  email: `user-${index + 1}@example.test`,
}))

Web UI variants are imported from their framework subpath:

import { DevModeProvider, DevToolbar } from '@geenius/devtools/react-css'
import '@geenius/devtools/react-css/styles.css'

export function StudioDevtools() {
  return (
    <DevModeProvider isDevAllowed initialVisible>
      <DevToolbar isAllowed />
    </DevModeProvider>
  )
}

React Native uses native primitives and stable testID selectors:

import { DevModeProvider, DevToolbar } from '@geenius/devtools/react-native'

export function NativeStudioDevtools() {
  return (
    <DevModeProvider initialVisible isDevAllowed>
      <DevToolbar flags={[]} routes={[]} testID="studio-native-devtools" />
    </DevModeProvider>
  )
}

API Reference

| Entrypoint | Key exports | | --- | --- | | @geenius/devtools | FeatureFlagManager, createTypedFlags, isDevelopment, isProduction, devLog, devWarn, devAssert, devAssertExists, generateMocks, devMeasureRender, createSlowOpMonitor, deepEqual, initGlobalDevtools, initDevtoolsFromEnv, shared panel helper contracts | | UI subpaths | DevToolbar, DevSidebar, DevModeProvider, dev-mode hooks or primitives, FeatureFlagsToggle, QuickRouteJump, PerformancePanel, PageLoadWaterfall, ConvexSpyPanel, DatabaseSeeder, GitHubIssueDialog | | CSS subpaths | @geenius/devtools/react-css/styles.css, @geenius/devtools/solidjs-css/styles.css |

There is no public /shared subpath for @geenius/devtools. Shared helper contracts are exported from the root package only; private workspace packages are build plumbing.

Variants

Published UI subpaths:

| Subpath | Runtime | Styling | | --- | --- | --- | | @geenius/devtools/react | React DOM | Reference Tailwind-style source | | @geenius/devtools/react-css | React DOM | Authored BEM CSS | | @geenius/devtools/solidjs | SolidJS DOM | Reference Tailwind-style source | | @geenius/devtools/solidjs-css | SolidJS DOM | Authored BEM CSS | | @geenius/devtools/react-native | React Native | Native primitives |

Library-themed variant folders are retained in the repository for future expansion, but they are outside the current launch build and test matrix and are not exported by the package.

The visual surface is Studio-tier-only. Pronto-safe imports must not import UI subpaths or load devtools panels.

Testing

Run checks from this package directory:

pnpm lint
pnpm type-check
pnpm test:unit
pnpm test:packed-smoke
pnpm build

Storybook harnesses live under apps/storybook-*. The React Native harness uses apps/storybook-react-native with a native verification script instead of the web static Storybook build.

Authority

  • Public docs: ../../.docs/DOCS/PACKAGES/DEVTOOLS.md
  • PRD: ../../.docs/PRDS/packages/PACKAGE_DEVTOOLS_PRD.md
  • Features: ../../.docs/FEATURES/packages/devtools/FEATURES.md
  • Scorecard: ../../.docs/FEATURES/packages/devtools/scorecard.yaml