from Hacker News

Polly.js – Record, replay, and stub HTTP interactions

by floriangosse on 1/8/24, 11:49 AM with 10 comments

  • by jadbox on 1/8/24, 7:12 PM

    Could I use this library to implement offline support for an API (for example htmx requests)? I'm imagine I could capture requests in the web worker to add in offline logic.
  • by kristo on 1/8/24, 6:14 PM

    What is the benefit of this over MSW (https://mswjs.io/)
  • by ChrisArchitect on 1/8/24, 7:58 PM

    (2018)
  • by weka on 1/8/24, 5:52 PM

    What is surprising is that Netflix is pushing out JavaScript, and not TypeScript, related projects in 2024.