Skip to content

Add claude-code-hooks — TypeScript SDK for the hook system#1029

Closed
Payshak wants to merge 1 commit into
hesreallyhim:mainfrom
Payshak:add-claude-code-hooks
Closed

Add claude-code-hooks — TypeScript SDK for the hook system#1029
Payshak wants to merge 1 commit into
hesreallyhim:mainfrom
Payshak:add-claude-code-hooks

Conversation

@Payshak

@Payshak Payshak commented Mar 21, 2026

Copy link
Copy Markdown

Hi! I'd like to add claude-code-hooks to the Hooks section.

It's a zero-dependency TypeScript/npm SDK for building Claude Code hooks properly — typed event payloads for all five hook events, response builders (allow(), block(), inject()), glob and regex matchers, and a .handle() method for unit testing hooks without touching stdin/stdout.

There's already a Python SDK (cchooks) and a PHP one on the list — this fills the same gap for the TypeScript/Node.js ecosystem. It's published on npm as claude-code-hooks so developers can install it directly into projects rather than copying raw scripts.

Links: GitHub · npm

Happy to adjust the description to match your editorial style — you have a great feel for these writeups.

@hesreallyhim

Copy link
Copy Markdown
Owner

⚠️ Resource submissions are not accepted via pull request

Resource recommendations must be submitted through the issue template, not as a pull request. The entire resource pipeline — validation, review, and merging — is managed by automation.

To submit your resource correctly:

  1. 📖 Read CONTRIBUTING.md
  2. 📝 Submit using the official template

If this PR is not a resource submission (e.g., a bug fix or improvement), please comment below and we'll reopen it.

A cooldown of 7 days has been applied to this account.


This PR was automatically closed.

@hesreallyhim hesreallyhim added the needs-template Issue is a resource recommendation that did not use the issue template label Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-template Issue is a resource recommendation that did not use the issue template

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants