tofu-http Install npm install tofu-http Example import http from 'tofu-http'; const params = { id:1 } http.$get('http://github.com',params).then(res => { //do something... });