# zoku

> simple promise based ajax

Latest version **1.1.1** (published 2015-10-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install zoku
pnpm add zoku
yarn add zoku
bun add zoku
```

## 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.1.1 |
| Published | 2015-10-06 |
| First published | 2014-07-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | cwmma |

## Links

- npm: https://www.npmjs.com/package/zoku
- Repository: https://github.com/calvinmetcalf/zoku
- Issues: https://github.com/calvinmetcalf/zoku/issues
- npm.io page: https://npm.io/package/zoku

## Dependencies (1)

- [lie](https://npm.io/package/lie.md) ^3.0.0

## Recent versions

- 1.1.1 (latest) — 2015-10-06
- 1.1.0 — 2015-09-29
- 1.0.2 — 2015-09-03
- 1.0.1 — 2015-07-31
- 1.0.0 — 2015-07-30
- 0.0.2 — 2014-08-22
- 0.0.0 — 2014-07-26

## README

zoku
====

Promisified ajax library; browserify compatible.


```bash
npm install zoku --save
```

## Usage

```js
var ajax = require('zoku');

ajax(url, data); // Defaults to 'get'
ajax.get(url, data);
ajax.post(url, data);

// Specify method explicitly
ajax(url, 'get', data);

// Use the result
ajax(url, data).then(function (result) {
  // Use the data (as json)
}, function (err) {
  // error thrown
});
```


## Zoku? WTF?

I was reading *The Causal Angel* by Hannu Rajaniemi when I wrote this, there is a faction known as the Zoku, it's from the Japanese word for 'clan' I believe.

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