# deduction

> deduction

Latest version **0.2.5** (published 2017-03-27) · MIT license · 0 weekly downloads

## Install

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

## 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.2.5 |
| Published | 2017-03-27 |
| First published | 2017-03-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | john.zhang@yishizhencang.com |
| Maintainers | may |
| Keywords | nodejs, deduction |

## Links

- npm: https://www.npmjs.com/package/deduction
- npm.io page: https://npm.io/package/deduction

## Recent versions

- 0.2.5 (latest) — 2017-03-27
- 0.2.4 — 2017-03-27
- 0.2.3 — 2017-03-27
- 0.2.2 — 2017-03-27
- 0.2.1 — 2017-03-25
- 0.2.0 — 2017-03-24
- 0.1.0 — 2017-03-22
- 0.0.2 — 2017-03-22
- 0.0.1 — 2017-03-21

## README

Claim
=====
```js
class Claim {
    constructor(p, q) { ... }
}

module.exports = Claim;
```
constructor(p, q)
-----------------
```js
args:
    Claim|Object         p
    Claim|Function|Value q
```
Deduction
=========
```js
class Deduction {
    constructor(claim) { ... }
    deduce(key, value) { ... }
    deduce(pair) { ... }
    end() { ... }
}

module.exports = Deduction;
```
constructor(claim)
------------------
```js
args:
    Claim claim[]
```
deduce(key, value)
------------------
```js
args:
    String key
    Value  value
return:
    this
```
deduce(pair)
------------
```js
args:
    Object pair
return:
    this
```
end()
-----
```js
return:
    {p:[], q:[]}
```
License
-------
MIT © [May xiaoya zhang](john.zhang@yishizhencang.com)

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