@blueabel/b5-50

1.0.2 • Public • Published

b5-50

Module for returning Big Five items

Installation

$ yarn add @blueabel/b5-50

Usage

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

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-50

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

11.8 kB

Total Files

6

Last publish

Collaborators

  • ops-123abc