1.0.1 • Published 7 years ago

ajax-util v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

Installation

npm i --save ajax-util

Example

import ajaxUtil from 'ajax-util';
ajaxUtil.get({
  url: 'package.json',
  success: (result) => {
    console.log(result);
  }
});

Parameters

url @String
params @Object
success @Function
error @Function
before @Function
after @Function
headers @Object
sync @Boolean
timeout @Number
responseType @String
1.0.1

7 years ago

1.0.0

7 years ago