This is a PoC Pact Javascript implementation.
Currently it is a bare-bones implementation that can verify a provider's response.
NOTE: This is being superseded by a work in progress at https://github.com/DiUS/pact-js-provider
npm install pactjs --save-dev
Download the full codebase from GitHub.
To run the example provider verifications:
/pactjs/example/animal_service/$ node test/contracts.pact.js
The official Pact specification
Ruby implementation of Pact
JVM implementation of Pact