Closed vesparny closed 7 years ago
Merging #3 into master will increase coverage by
0.2%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #3 +/- ##
=========================================
+ Coverage 93.54% 93.75% +0.2%
=========================================
Files 1 1
Lines 31 32 +1
Branches 4 4
=========================================
+ Hits 29 30 +1
Misses 2 2
Impacted Files | Coverage Δ | |
---|---|---|
src/index.js | 93.75% <100%> (+0.2%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 65b56a6...b8847e8. Read the comment docs.
I'm gonna go ahead and merge this, but we will want to add docs for these new features.
Ooh - wow, time to rip out res.xml() for some bytes :D
This adds 2 features:
Usage:
I see unfetch provides a
res.xml()
method, but fetch does not (ping @developit) https://developer.mozilla.org/en-US/docs/Web/API/ResponseThat's the reason I only allowed
json
,text
andblob
as response types.Still missing tests and docs