New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@grayhaven/nerve-react

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grayhaven/nerve-react

JSX authoring for Grayhaven Nerve harnesses (experimental). No React runtime — a 2KB custom JSX factory over the same typed DSL.

latest
npmnpm
Version
8.0.0
Version published
Weekly downloads
11
37.5%
Maintainers
1
Weekly downloads
 
Created
Source

@grayhaven/nerve-react

Experimental JSX authoring for Nerve harnesses. A 2KB custom JSX runtime — no React, no fiber: elements are plain functions over the typed DSL, so the JSX form compiles to byte-identical HIR vs. the function style (proven in tests).

/** @jsxImportSource @grayhaven/nerve-react */
import { Connector, Harness, Wire } from "@grayhaven/nerve-react"

export default (
  <Harness id="drop" revision="A" units="mm">
    <Connector ref="J1" part={part("ph-4")} pins={{ 1: "V5", 2: "GND" }} />
    <Wire id="W1" from="J1.1" to="M1.1" gauge="24AWG" color="red" length={120} />
  </Harness>
)

Part of Grayhaven Nerve — harnesses as code. Live demo + docs · llms.txt · Apache-2.0

FAQs

Package last updated on 28 Aug 2026

Related posts