sentiment and afinn
These are ecosystem siblings: both are independent implementations of the same AFINN sentiment analysis algorithm in different programming languages (Node.js and Elixir), allowing developers to use the same underlying lexicon-based approach within their respective language ecosystems.
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 afinn
kupolak/afinn
Sentiment analysis in Elixir.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work