Skip to content

leejsinclair/emoji-sentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emoji-sentiment

Installation

npm install emoji-extract-sentiment --save

Usage

require ('emoji-extract-sentiment');

const text = "😭 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean vulputate sem non vulputate varius.";
const result = emojiSentiment(text);

Expected result

[ { emoji: '😭',
    code: ':sob:',
    utf16: '\\uD83D\\uDE2D',
    unicode: '1f62d',
    sentiment: -0.093 } ]

Test

Close to you local development enviornment:

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published