Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alheimsins/b5-50-ipip-neo-pi-r

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alheimsins/b5-50-ipip-neo-pi-r

Module for returning Big Five 50 IPIP-NEO-PI-R items

  • 4.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Coverage Status js-standard-style

b5-50-ipip-neo-pi-r

Module for returning Big Five 50 IPIP-NEO-PI-R items

Installation

$ npm i @alheimsins/b5-50-ipip-neo-pi-r

Usage

const { getItems, getInfo, getChoices, getQuestions } = require('@alheimsins/b5-50-ipip-neo-pi-r')

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

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

returns an array with questions and choices

[
   {
       "id": "43c98ce8-a07a-4dc2-80f6-c1b2a2485f06",
       "text": "Worry about things",
       "keyed": "plus",
       "domain": "N",
       "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

CodeNameTranslator
enEnglish
pt-brPortugues BrasileiroMatheus Muriel

Help wanted

If you want to help by translating the items to other languages this is how you do it.

  • clone the repo
  • find a language you know in data
  • duplicate the folder and rename it to the language you will translate
  • use ISO 639-1 language code as folder name.
  • translate the "text"-property for choices.js and questions.json
  • don't change filenames, ids or any other properties
  • add your language code to the data/languages.json file
  • submit pull request
  • happiness :-)

License

MIT

About

Created with ❤ for Alheimsins

Alheimsins logo

Keywords

FAQs

Package last updated on 12 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc