core-image-xhr

a simple xhr handler

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
core-image-xhr
301.0.36 years ago6 years agoMinified + gzip package size for core-image-xhr in KB

Readme

core-image-xhr

a simple image ajax handler

Start

``` bash npm i core-image-xhr --save
``` js
import xhr from 'core-image-xhr';

xhr(method, url, header, data, successCallback, errorCallback);

  • method 'POST' or 'GET'

  • url

  • header Object

  • data Object

  • successCallback function

  • errorCallback function