@olton/ajax
v1.0.0
Published
javascript class designed to work with ajax technology
Downloads
1
Readme
Ajax - Javascript Ajax implementation
Ajax is a javascript class designed to work with ajax technology.
Contributing
Clone repository / Get source
git clone https://github.com/olton/ajax
Run tests
yarn test
Install
With npm
npm install @olton/ajax --save-dev
With yarn
yarn add --dev @olton/ajax
Using Ajax
import {ajax} from "@olton/ajax";
const request = ajax({...});
request.then(function(rawResponse){
// resolve
}, function(xhrObject){
// reject
});
Documentation
You can find the documentation at this link.
License
This software is free to use under the MIT license. See the LICENSE file for license text and copyright information.