# kefir-jquery-ajax

> make a $.ajax request, get a kefir stream back

Latest version **1.0.2** (published 2015-10-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install kefir-jquery-ajax
pnpm add kefir-jquery-ajax
yarn add kefir-jquery-ajax
bun add kefir-jquery-ajax
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-10-10 |
| First published | 2015-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | elsehow |
| Maintainers | elsehow |
| Keywords | kefir, frp, ajax, jquery |

## Links

- npm: https://www.npmjs.com/package/kefir-jquery-ajax
- Repository: https://github.com/elsehow/kefir-jquery-ajax
- Homepage: https://github.com/elsehow/kefir-jquery-ajax#readme
- Issues: https://github.com/elsehow/kefir-jquery-ajax/issues
- npm.io page: https://npm.io/package/kefir-jquery-ajax

## Dependencies (2)

- [kefir](https://npm.io/package/kefir.md) ^3.1.0
- [jquery](https://npm.io/package/jquery.md) ^2.1.4

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2015-10-10
- 1.0.1 — 2015-10-08
- 1.0.0 — 2015-10-08

## README

# kefir-jquery-ajax

make a $.ajax request, get a kefir property back!

## installation

`npm install kefir-jquery-ajax`

## example usage

```javascript
var kefirAjax = require('kefir-jquery-ajax')

//returns a promise for a GET to the query string
var queryOpts = function (date, number) {
   return {
    url: 'http://127.0.0.1:3000/sms',
    data: { 
      date: date, 
      number: number 
    }
  }
}

//returns a stream* from responses to query()'s AJAX request
var getData = function (date, number) {
  var responseStream = kefirAjax(queryOpts(date, "my-phone-number"))
  return responseStream.map(JSON.parse)
}

module.exports = getData
```

---
_Source: https://npm.io/package/kefir-jquery-ajax · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
