Skip to content
View mostafasayed's full-sized avatar

Block or report mostafasayed

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. A curated collection of backend patt... A curated collection of backend patterns used in Node.js microservices: idempotency, retries, circuit breakers, transactions, and observability.
    1
    # Production Backend Patterns (Node.js / TypeScript)
    2
    
                  
    3
    A curated collection of production-ready backend patterns used in Node.js microservices.
    4
    Each Gist focuses on a single concept and is designed to be easy to reference in real systems,
    5
    architecture discussions, and interviews.
  2. token-budget-guard token-budget-guard Public

    A small utility to enforce token budgets for AI API calls.

    TypeScript 1

  3. ai-request-logger ai-request-logger Public

    Lightweight structured logger for LLM API requests. Tracks latency, token usage, and estimated cost.

    TypeScript 1

  4. llm-retry-guard llm-retry-guard Public

    Safe retry wrapper for LLM API calls with configurable backoff strategies and transient error handling.

    TypeScript 1

  5. prompt-cache prompt-cache Public

    Cache LLM API calls to reduce cost, avoid duplicates, and improve latency (deterministic keys + in-flight dedup).

    TypeScript 1

  6. ts-package-init ts-package-init Public

    Fast, minimal, and modern TypeScript project initializer

    JavaScript 1