ya-api

0.0.3 • Public • Published

YA-API npm version

NPM

yet another fetch adapter

Install

npm install ya-api --save

Useage

import api from 'ya-api'
api.get("http://example.com",{q:'search'}).then(ret=>{
    console.log('ret',ret)
})

Todo

  • fix some unknow bugs
  • add more api documents

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i ya-api

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • alichen