Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Requests are data

Compare
Choose a tag to compare
@swlkr swlkr released this 26 Sep 21:31
· 15 commits to master since this release

2.0.0! Requests as data

The whole api has changed. Http requests are just js objects now. Which is a good thing for a few reasons.

  1. The functions that operate on them in the library are now pure functions, meaning it was easier for me to focus on and test potential invalid data than it was before.
  2. The "arguments" are now named, I mean if you consider a js object as one argument naming arguments.
  3. It should be easier to wrap this library since the data coming into it is just that: data.