personality-trait-names

2.2.0 • Public • Published

Personality Insights Trait Names

last-release npm-version npm-license Build Status codecov.io npm-downloads

Obtain names for Personality Insights' traits.

Installation

$ npm install personality-trait-names

Usage

  var PersonalityTraitNames = require('personality-trait-names');
 
  // version refers to the version of Watson Personality Insights to use, v2 or v3
  var traitNames = new PersonalityTraitNames({ locale: 'es', version: 'v3' });
 
  // retrieve the trait name for a specified trait id (e.g., 'big5_agreeableness')
  var big5AgreeablenessTraitName  = traitNames.name('big5_agreeableness');
  console.log('The trait name for trait id big5_agreeableness is ' + big5AgreeablenessTraitName);
 

License

This library is licensed under Apache 2.0. Full license text is available in LICENSE.

Changelog

12-01-2016

  • Added v3 traits

/personality-trait-names/

    Package Sidebar

    Install

    npm i personality-trait-names

    Weekly Downloads

    18

    Version

    2.2.0

    License

    Apache-2.0

    Unpacked Size

    137 kB

    Total Files

    61

    Last publish

    Collaborators

    • agustincasamayor
    • aprilwebster
    • arypbatista
    • germanattanasio
    • neil-boyette-ibm
    • vibhasinha