0.1.1 • Published 1 year ago
axed v0.1.1
axed
npm install axed const axed = require('axed')
const { got, posted, didErr } = axed
//(or ES module import) axed is a wrapper around axios to cut down on boilerplate in both the request and err handling.
Ex-
const url = `http://myendpoint.com/stuff`
const res = await posted(url, { cool : true })
if(didErr(res)) throw didErr(res) If posted (or got) returns null it means the result was blank.
If didErr returns null it means there was no error, otherwise returns the error.
0.1.0
1 year ago
0.1.1
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.20
3 years ago
0.0.19
4 years ago
0.0.18
4 years ago
0.0.17
4 years ago
0.0.16
4 years ago
0.0.15
4 years ago
0.0.14
4 years ago
0.0.13
4 years ago
0.0.12
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago