Pact JS is currently compliant to Pact Specification Version 2.0.
Our 5 minute guide is written in JS, this is a good starting point if this is your first experience with Pact.
If you'd like to go a little deeper, we have a workshop that will take 1-2 hours. It goes into all of the key topics, and will take you from a novice to intermediate level understanding.
If you need more information, the Pact JS readme has detailed information.
Additionally, these complete examples are useful guides: