1.0.0 • Published 4 years ago

@olton/ajax v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Dependencies License: MIT GitHub code size in bytes GitHub release

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.