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

@grayhaven/nerve

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grayhaven/nerve

Grayhaven Nerve core: domain model, DSL builders, HIR types and schema, compiler interface, validation primitives.

latest
Source
npmnpm
Version
8.0.0
Version published
Weekly downloads
15
-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

@grayhaven/nerve

The core of Grayhaven Nerve: the typed harness DSL (harness / connector / wire / splice / cable / branch / label / variant), the versioned HIR schema, deterministic compileDesign, diagnostics + the rule() API, diffHir, part-data providers (resolvePart, staticProvider), and defineConfig.

import { harness, connector, wire } from "@grayhaven/nerve"
import { MolexMicroFit } from "@grayhaven/nerve-connectors"

const j1 = connector("J1", MolexMicroFit["43025-0800"], {
  pins: { 1: "VBAT_24V", 2: "GND", 3: "CAN_H", 4: "CAN_L" },
})
// wire(), branch(), label() ... -> compileDesign() -> deterministic HIR

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