Skip to content

Installation

bash pnpm add comic-vine-sdk

The client works without any stores by default (no caching, deduplication, or rate limiting). Install store packages from @http-client-toolkit to enable these features:

Best for development, testing, and single-instance applications. Fastest performance with zero setup.

bash pnpm add @http-client-toolkit/store-memory

Recommended for production. Persistent across restarts with cross-process support.

bash pnpm add @http-client-toolkit/store-sqlite

The SDK is written in TypeScript and provides comprehensive type definitions out of the box:

  • Full type safety for all Comic Vine resources and fields
  • Intelligent field selection with automatic type narrowing
  • Auto-completion for all methods, parameters, and response properties
  • Filter validation with type-safe filter options per resource

No additional @types packages are needed. Types are generated from actual Comic Vine API responses, ensuring accuracy and up-to-date definitions.

  • Node.js 20 or later
  • TypeScript 5.0+ (recommended, but not required)

If you are migrating from @comic-vine/client, see the v1 to v2 migration guide.