@blueabel/b5-johnson-120

1.0.4 • Public • Published

b5-johnson-120

Module for returning Big Five items

Installation

$ yarn add @blueabel/b5-johnson-120

Usage

const { getItems, getInfo, getChoices, getQuestions } = require('@blueabel/b5-johnson-120')

console.log(getInfo()) // returns test info

console.log(getChoices()) // returns choices in English

console.log(getQuestions()) // returns questions in English

console.log(getItems()) // returns English

console.log(getItems('en', true)) // returns English shuffeled
[
   {
      "text": "Worry about things",
      "id": "IPI_4242",
      "keyed": "plus",
      "alpha": 0.83,
      "domain_id": "IPD_5049",
      "domain": "N",
      "facet_id": "IPD_5218",
      "facet": 1
        "num": 1,
        "choices": [
          {
            "text": "Very Inaccurate",
            "score": 1,
            "color": 1
          },
          {
            "text": "Moderately Inaccurate",
            "score": 2,
            "color": 2
          },
          {
            "text": "Neither Accurate Nor Inaccurate",
            "score": 3,
            "color": 3
          },
          {
            "text": "Moderately Accurate",
            "score": 4,
            "color": 4
          },
          {
            "text": "Very Accurate",
            "score": 5,
            "color": 5
          }
       ]
    }
]

Supported languages

Code Name Translator
en English

Package Sidebar

Install

npm i @blueabel/b5-johnson-120

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

33.4 kB

Total Files

6

Last publish

Collaborators

  • ops-123abc