Git Product home page Git Product logo

b5-johnson-120-ipip-neo-pi-r's Introduction

Build Status Coverage Status js-standard-style

b5-johnson-120-ipip-neo-pi-r

Module for returning Big Five Johnson 120 IPIP-NEO-PI-R items

Installation

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

Usage

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

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

console.log(getItems('no')) // returns Norwegian

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

Code Name Translator
en English
no Norwegian Eli Huseby
es Spanish Eduardo Calle
is Icelandic Franz Jónas Arnar Arnarson and Sigurður Kári Árnason
it Italian Lorenzo Carducci
nl Dutch Eus van Somerenk, Kim Dekker and Tessa Blanken
se Swedish Martin Bäckström
hr Croatian Željko Jerneić
fr French Mathew Gravel
et Estonian René Mõttus, Helle Pullmann, Jüri Allik, Liina Haring, Kenn Konstabel, and Anu Realo
de German Heinz Streib and Manuela Wiedmaier
jp Japanese Omar Karlin
ur Urdru Engr. Ahmad Khan
pt-br Portuguese (brazil) Marcelo Rigon
ru Russian Javid Askerov, Olga V
zh-cn Simplified Chinese Roy Jia
th Thai Maneepailin Sriuthenchai
fi Finnish Anastasia Tapper

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 :-)

Related

License

MIT

About

Created with <3 by Alheimsins

Alheimsins symbol

b5-johnson-120-ipip-neo-pi-r's People

Contributors

zrrrzzt avatar maccyber avatar renovate-bot avatar greenkeeper[bot] avatar askeroff avatar shiifu avatar ialsowalkdogs avatar rjjuina avatar

Watchers

James Cloos avatar Matheus Muriel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.