Netflix/pollyjs
Record, Replay, and Stub HTTP Interactions. observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 24
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3016
- days_rel: n/a
- days_push: 459
- n_releases_24m: 0
Adoption not part of the score
10250 stars · 355 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Polly.JS is a standalone, framework-agnostic JavaScript library for recording, replaying, and stubbing HTTP interactions in both Node and the browser. It lets test suites record real server responses once and replay them for fast, deterministic tests, while also providing an API to intercept and modify requests and responses.
Use cases
- record and replay http requests in javascript tests
- mock fetch and xhr requests in browser tests
- stub api responses to simulate error states
- create deterministic test fixtures from real server responses
- intercept third-party requests like analytics in tests
- speed up test suites by avoiding live api calls
When to avoid
- you need to mock non-HTTP protocols like gRPC or WebSockets
- you want a general-purpose mock server rather than an in-process test library
- your stack is not JavaScript
Facets
library · maturity maintenance
testing mocking http-client testing web-development developer-tools browser http-mocking record-replay vcr-style test-fixtures mocha qunit nodejs javascript
2 sources
- readme: https://github.com/Netflix/pollyjs · fetched 2026-08-28 · 20dcd59c2c24
- homepage: https://netflix.github.io/pollyjs · fetched 2026-08-29 · b8e1b332b4c0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Netflix/pollyjs | main | 43 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem