sentiment and sentiment-analyser

Both use the AFINN lexicon for sentiment analysis but target different environments—one is a mature Node.js library for server-side use, while the other is a browser-based alternative for client-side analysis without external dependencies—making them complements for different deployment contexts rather than direct competitors.

sentiment
68
Established
sentiment-analyser
22
Experimental
Maintenance 0/25
Adoption 22/25
Maturity 25/25
Community 21/25
Maintenance 13/25
Adoption 0/25
Maturity 9/25
Community 0/25
Stars: 2,674
Forks: 313
Downloads: 531,841
Commits (30d): 0
Language: JavaScript
License: MIT
Stars:
Forks:
Downloads:
Commits (30d): 0
Language: JavaScript
License: MIT
Stale 6m
No Package No Dependents

About sentiment

thisandagain/sentiment

AFINN-based sentiment analysis for Node.js.

Combines the AFINN-165 lexicon with emoji sentiment scoring to analyze text polarity, returning detailed breakdowns including comparative scores normalized across document length. Supports extensibility through custom language registration with per-language negation and emphasis strategies, plus runtime word score overrides via extras. Built for Node.js with optimized performance (~2x faster than comparable libraries) through efficient tokenization and lexicon lookup.

About sentiment-analyser

Hand-On-Web-Ltd/sentiment-analyser

Analyse customer review sentiment using the AFINN-165 word list — no API needed, runs entirely in the browser

Scores updated daily from GitHub, PyPI, and npm data. How scores work