npm.io
0.1.10 • Published 3d agoCLI

thymian

Licence
AGPL-3.0-only
Version
0.1.10
Deps
19
Size
95 kB
Vulns
0
Weekly
291
Thymian Logo

Thymian

Add resilience and HTTP conformance to your API development workflow

License: AGPL-3.0 CI Documentation Discord Reddit Twitter

Thymian is a language-agnostic, open-source HTTP conformance and API governance tool. It validates your APIs against RFC standards and your OpenAPI specification out of the box, statically, against live endpoints, and in recorded production traffic. Fully extensible with plugins and shareable custom rules that you write once and run everywhere.

Key Capabilities

  • Standards-First — Validates against RFC 9110 and related HTTP specifications
  • Write Once, Validate Everywhere — A single rule definition works across thymian lint, thymian test, and thymian analyze
  • Multi-Layer Governance — Validates HTTP infrastructure, protocol compliance, technical implementation, and organizational guidelines
  • Educational Reporting — Violations explain the RFC semantics and real-world consequences, not just pass/fail
  • Production-Aware — Monitors how proxies, CDNs, and load balancers affect HTTP semantics in real deployments
  • Language-Agnostic & Extensible — Works with any tech stack; custom rules distributable as npm packages, remote plugins via WebSocket

Quick Installation

Installation

You won't need to install Thymian locally, we will just use npx for this.

Check if you can run Thymian by running the following command:

npx thymian --version
First Run Without a Config

Now navigate to your project's root directory and run Thymian directly against your API description:

npx thymian lint --spec openapi:openapi.yaml

This is the fastest way to reach a first conformance result without any prior setup.

Generate a Reusable Config

If you want to save that setup for future runs, generate a config file:

npx thymian generate config

This command detects your OpenAPI specification file and creates a thymian.config.yaml you can reuse with npx thymian lint.

Documentation

Enterprise Support

Get professional consulting and dedicated support from the creators of Thymian. We offer:

  • API design and governance strategies
  • HTTP standards compliance auditing
  • Custom plugin development
  • Custom rule development
  • Team training and workshops

Learn more about Enterprise Support | Email: support@thymian.dev


Shipped with by qupaya

Keywords