0.1.1 • Published 8 months ago

axed v0.1.1

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

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

8 months ago

0.1.1

8 months ago

0.0.21

9 months ago

0.0.22

9 months ago

0.0.20

2 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago