# ktsnd-test-ja

> KTSND (Kano Test for Social Nicotine Dependence) in Japanese

Latest version **1.0.1** (published 2018-09-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install ktsnd-test-ja
pnpm add ktsnd-test-ja
yarn add ktsnd-test-ja
bun add ktsnd-test-ja
```

## 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.1 |
| Published | 2018-09-08 |
| First published | 2015-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | CureApp, Inc. |
| Maintainers | cureapp-admin |
| Keywords | Japanese, KTSND, tobacco, medical, nicotine dependence, smoking |

## Links

- npm: https://www.npmjs.com/package/ktsnd-test-ja
- Repository: https://github.com/CureApp/ktsnd-test-ja
- Issues: https://github.com/CureApp/ktsnd-test-ja/issues
- npm.io page: https://npm.io/package/ktsnd-test-ja

## Recent versions

- 1.0.1 (latest) — 2018-09-08
- 1.0.0 — 2015-10-10

## README

# ktsnd-test-ja
日本語のKTSND (加濃式社会的ニコチン依存度質問票) の質問票の文言と点数計算

## install

```sh
npm install ktsnd-test-ja
```

## usage

```js
var KTSND = require('ktsnd-test-ja');
```

質問一覧を取得
```js
KTSND.getQuestions();
```

質問の選択肢を取得
```js
KTSND.getChoices(0); // Q1の選択肢の配列
KTSND.getChoices(4); // Q5の選択肢の配列
```

点数を計算
```js
// 引数はQ1~Q10 の回答の配列. getChoices で得られた配列のインデックスの値の列を渡す
KTSND.calculate([2,1,3,0,1,2,0,1,2,3]); // 16 を返す。
```

## LICENSE
MIT

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