deno-patterns

Community

Master Deno patterns for clean, safe TS code.

Authorjahanson
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrating from Node.js to Deno and adopting modern TypeScript patterns can be challenging; this guide provides a structured approach to resource management, async iteration, and robust error handling.

Core Features & Use Cases

  • Resource management with the using pattern for deterministic cleanup of timers, file handles, and network resources.
  • Async iteration and polling patterns using async generators for cancellable workflows.
  • Error handling using Deno's class-based errors and structured concurrency best practices.
  • Migration guidance that maps Node.js patterns to Deno equivalents and Web API usage.

Quick Start

Refactor a small Deno project to replace manual cleanup with using and convert a polling loop to an async generator and cancelable patterns.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: deno-patterns
Download link: https://github.com/jahanson/cc-plugins/archive/main.zip#deno-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.