1.0.1 • Published 6 years ago

flapjax v1.0.1

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

Flapjax

Monadic Ajax module

Usage

// type Config = {
//   url : String,
//   method : String,
//   body [OPTIONAL] : String,
//   responseType [OPTIONAL] : String
//   timeout [OPTIONAL] : Number,
//   withCredentials [OPTIONAL] : Bool
//   headers [OPTIONAL] : { String : String }  
//   events [OPTIONAL] : { 
//     loadstart : (Event) -> (),
//     progress : (Event) -> (),
//     abort : (Event) -> (),
//     error : (Event) -> (),
//     load : (Event) -> (),
//     timeout : (Event) -> (),
//     loadend : (Event) -> (),
//   }
// }
//
// flapjax :: Config -> Future XHR
const future = flapjax(config);

To use the future, please review the Fluture API

1.0.1

6 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago