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

@grayhaven/nerve-rules

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-rules

Built-in validation and linting rules for Grayhaven Nerve.

Source
npmnpm
Version
6.0.0
Version published
Weekly downloads
17
30.77%
Maintainers
1
Weekly downloads
 
Created
Source

@grayhaven/nerve-rules

24 built-in validation rules with stable HK-* codes: missing ground returns, untwisted differential pairs (CAN/RS-485/USB, bus-indexed), ampacity vs. gauge, terminal/seal compatibility, reserved pins, bend radius, bundle-vs-sleeve capacity, voltage ratings, and more — each one a field failure caught at compile time. Includes a derived numeric code mapping for tooling.

import { builtinRules } from "@grayhaven/nerve-rules"
import { compileDesign, runRules } from "@grayhaven/nerve"

const diagnostics = runRules(compileDesign(design).hir, builtinRules)

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

FAQs

Package last updated on 08 Jun 2026

Related posts