# dunajs-client

> Duna framework javascript client

Latest version **0.0.6** (published 2017-03-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install dunajs-client
pnpm add dunajs-client
yarn add dunajs-client
bun add dunajs-client
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2017-03-18 |
| First published | 2017-03-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | mcesar |

## Links

- npm: https://www.npmjs.com/package/dunajs-client
- Repository: https://github.com/duna-project/dunajs-client
- Homepage: https://github.com/duna-project/dunajs-client#readme
- Issues: https://github.com/duna-project/dunajs-client/issues
- npm.io page: https://npm.io/package/dunajs-client

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.79.0
- [request-promise](https://npm.io/package/request-promise.md) ^4.1.1

## Recent versions

- 0.0.6 (latest) — 2017-03-18
- 0.0.5 — 2017-03-18
- 0.0.4 — 2017-03-02
- 0.0.3 — 2017-03-02
- 0.0.2 — 2017-03-02
- 0.0.1 — 2017-03-02

## README

# Basic usage

```javascript
var client = require('dunajs-client')

var c = client.create('http://some-service-endpoint')
// http get
c.methodName({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
// http post using unicode character U+01C3
c.methodNameǃ({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
// http post using !
c.['methodName!']({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
```

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