# Pact JS

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


Source: https://findsoftware.frbit.cloud/pact-js/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://pact.io/
- repository: https://github.com/pact-foundation/pact-js
- docs: https://docs.pact.io/
- x: https://twitter.com/pact_up
- youtube: https://www.youtube.com/channel/UCgCwYVPjV_-0gWWRBJbzbww/

### Identity

- status: active
- maintainer: DiUS
- maintainerType: unknown
- parent: unknown
- firstRelease: 2016
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: node 22
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 17
- latestReleaseDate: 2026-09-07

### Adoption

- githubStargazers: 1827
- packagistDownloads: not applicable
- npmWeeklyDownloads: 1049533
- contributors: 101
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 983
- dependentPackages: 102

### Sources

- urls: https://pact.io/ (read 2026-11-16)
- urls: https://api.github.com/repos/pact-foundation/pact-js (read 2026-11-16)
- urls: https://github.com/pact-foundation/pact-js/blob/master/README.md (read 2026-11-16)
- maintainer: https://github.com/pact-foundation/pact-js/blob/master/LICENSE (read 2026-11-16)
- language: https://api.github.com/repos/pact-foundation/pact-js (read 2026-11-16)
- category: https://github.com/pact-foundation/pact-js/blob/master/README.md (read 2026-11-16)
- license: https://github.com/pact-foundation/pact-js/blob/master/LICENSE (read 2026-11-16)
- runtime: https://github.com/pact-foundation/pact-js/blob/v17.1.4/package.json (read 2026-11-16)
- runtimeMin: https://github.com/pact-foundation/pact-js/blob/v17.1.4/package.json (read 2026-11-16)
- installMethod: https://github.com/pact-foundation/pact-js/blob/master/README.md (read 2026-11-16)
- currentMajor: https://api.github.com/repos/pact-foundation/pact-js/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/pact-foundation/pact-js/releases (read 2026-11-16)
- firstRelease: https://api.github.com/repos/pact-foundation/pact-js/releases (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@pact-foundation/pact (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/pact-foundation/pact-js (read 2026-11-16)
- contributors: https://api.github.com/repos/pact-foundation/pact-js/contributors?per_page=1 (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40pact-foundation%2Fpact (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40pact-foundation%2Fpact (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
