FindSoftware

Pact JS

JavaScript and TypeScript library for contract testing HTTP APIs and asynchronous messaging systems with Pact.

Pact JS is the JavaScript and TypeScript library of Pact, a contract testing framework for HTTP APIs and asynchronous messaging systems. The README names HTTP/REST and event-driven systems as the systems it supports, and lists a configurable mock server among its features. It is installed from npm as a development dependency and runs on Node.js.

Worth knowing

PactFlow, described on the Pact homepage as a premium, fully hosted Pact Broker, is a separate product. The README says Pact JS integrates with the Pact Broker and PactFlow.

Identity

Status
Active
Maintainer
DiUS4
First release
20166

Rendering and deploy

Install with
npm3

Releases

Current major version
176
Last release
2026-09-076

Adoption

GitHub stars
1,8272
npm downloads a week
1,049,5337
Contributors
1018
Dependent repositories
9839
Dependent packages
1029

Why these figures do not compare

Sources

  1. 2026-11-16: links
    pact.io/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/pact-foundation/pact-js
  3. 2026-11-16: links, Categories, Install with
    github.com/pact-foundation/pact-js/blob/master/README.md
  4. 2026-11-16: Maintainer, License
    github.com/pact-foundation/pact-js/blob/master/LICENSE
  5. 2026-11-16: Runtime, Minimum runtime
    github.com/pact-foundation/pact-js/blob/v17.1.4/package.json
  6. 2026-11-16: Current major version, Last release, First release
    api.github.com/repos/pact-foundation/pact-js/releases
  7. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@pact-foundation/pact
  8. 2026-11-16: Contributors
    api.github.com/repos/pact-foundation/pact-js/contributors?per_page=1
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40pact-foundation%2Fpact

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON