1.2.0 • Published 3 months ago

fetch-rewrite v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

Rewrite Fetch

This small library will let you apply rewrite rules to fetch commands.

This is useful for "fixing" other people's code (or perhaps for testing). My specific use case was to modify the response payloads for the Spotify app so that I could remove episodes and audiobooks by modifying the fetch responses.

Usage

TODO

  • Method matching
  • Deeper URL matching (i.e. on origin too)
  • Pattern match/regex support on URL match
  • Tests
  • Actually include more documentation and examples
1.2.0

3 months ago

1.1.0

4 months ago

1.0.0

4 months ago