Pact (JS)
Consumer-driven contract testing framework for microservices and REST/GraphQL APIs.
Why consider Pact (JS)?
Pact JS is an open-source consumer-driven contract testing framework for JavaScript and TypeScript. It ensures that microservices communicate compatibly by validating contracts locally without launching complex end-to-end integration environments.
Learn Pact (JS) by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of Pact JS
Pact prevents breaking API changes from entering production by validating consumer expectations in CI.
Installation
npm install @pact-foundation/pact --save-devPact JS is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.