{"_id":"@donkawechico/pact-js","name":"@donkawechico/pact-js","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@donkawechico/pact-js","version":"0.1.0","description":"Agnostic JavaScript runtime for the PACT protocol.","main":"dist/pact.js","license":"MIT","_id":"@donkawechico/pact-js@0.1.0","gitHead":"2bfdc3373a67944ef9850060cd13775960bf3d00","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-zQOVdTYvzunYdXdP+sOa7NIoBgQMF448Dm3JXUfm1KXKekU4sCU7iRrlD6opGTbOxpLrsodYDjo9s4Xb7hwFcg==","shasum":"acddc500c3247255d2e2f00c82e949c4a48078a4","tarball":"https://registry.npmjs.org/@donkawechico/pact-js/-/pact-js-0.1.0.tgz","fileCount":4,"unpackedSize":40945,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCoPe0AScCQxiDwllXKaWXvFvWrX2YEYUxC+iLz2QckNAIgKPCRL4RZfT94Ek6An/zQvYZssvVzrf8jYbnzGIJK/Gk="}]},"_npmUser":{"name":"donkawechico","email":"donniekarns@gmail.com"},"directories":{},"maintainers":[{"name":"donkawechico","email":"donniekarns@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pact-js_0.1.0_1774295280460_0.6307592976559773"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-23T19:48:00.345Z","0.1.0":"2026-03-23T19:48:00.607Z","modified":"2026-03-23T19:48:00.838Z"},"maintainers":[{"name":"donkawechico","email":"donniekarns@gmail.com"}],"description":"Agnostic JavaScript runtime for the PACT protocol.","license":"MIT","readme":"# pact-js\n\nAgnostic JavaScript runtime for the PACT protocol.\n\n## Scope\n\n`pact-js` should not assume anything about Chrome extensions, Discord bots, or any specific host application. It is the shared protocol/runtime layer only.\n\nIts job is to provide reusable PACT primitives such as:\n\n- config parsing\n- profile normalization\n- payload encryption and decryption\n- transport remap handling\n- browser-friendly runtime helpers for PACT profiles\n\n## Layout\n\n- `src/pact.js`: canonical source\n- `dist/pact.js`: distributable browser artifact\n\n## Usage\n\nBuild the distributable artifact:\n\n```sh\nnpm run build\n```\n\nConsumers should decide for themselves how to integrate the built artifact, whether that is copying, bundling, packaging, vendoring, or publishing.\n\n## Design Rule\n\nIf code mentions a specific app, extension, bot, storage model, UI flow, or delivery mechanism, it probably belongs outside `pact-js`.\n","readmeFilename":"README.md","_rev":"1-6ef1cb60ec12104e40205c8da5af2216"}