Record, replay, and stub HTTP interactions

What is Polly.JS?

Polly.JS is a standalone, framework-agnostic JavaScript library that enables recording, replaying, and stubbing HTTP interactions. Polly taps into native browser APIs to mock requests and responses with little to no configuration while giving you the ability to take full control of each request with a simple, powerful, and intuitive API.

Polly.JS is a tool in the Javascript Utilities & Libraries category of a tech stack.

Polly.JS is an open source tool with 7.57K Github Stars and 197 Github Forks. Here’s a link to Polly.JS's open source repository on Github

Why people like Polly.JS

Here’s a list of reasons why companies and developers use Polly.JS.



Add a one-liner

Polly.JS's Features

  • 🚀 Fetch & XHR Support
  • ⚡️️ Simple, Powerful, & Intuitive API
  • 💎 First Class Mocha & QUnit Test Helpers
  • 🔥 Intercept, Pass-Through, and Attach Events
  • 📼 Record to Disk or Local Storage
  • ⏱ Slow Down or Speed Up Time

Polly.JS's alternatives

  • Underscore - JavaScript's utility _ belt
  • lodash - A modern JavaScript utility library delivering modularity, performance & extras.
  • Immutable.js - Immutable persistent data collections for Javascript which increase efficiency and simplicity, by Facebook
  • UglifyJS - JavaScript parser / mangler / compressor / beautifier library for NodeJS
  • pkg - Package your Node.js project into an executable

See all alternatives to Polly.JS