@blueabel/b5-50
v1.0.2
Published
Module for returning Big Five 50 items
Downloads
1
Maintainers
Readme
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 | |