thisandagain/sentiment
AFINN-based sentiment analysis for Node.js. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5077
- days_rel: n/a
- days_push: 2298
- n_releases_24m: 0
Adoption not part of the score
2678 stars · 311 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js module that performs sentiment analysis on text using the AFINN-165 wordlist and Emoji Sentiment Ranking. It supports custom languages, custom scoring strategies for negation and emphasis, and extending or overriding the wordlist.
Use cases
- score sentiment of user reviews in node.js
- analyze sentiment of tweets or comments
- add custom sentiment words to a lexicon
- support sentiment analysis in multiple languages
- handle negation like 'not good' in sentiment scoring
- fast lexicon-based sentiment analysis without ML models
When to choose
- you need fast, lightweight lexicon-based sentiment scoring in Node.js
- you want to customize the wordlist or add languages easily
- you don't want to depend on heavy ML models or external services
When to avoid
- you need state-of-the-art accuracy on sarcasm or context-dependent sentiment
- you need languages beyond English without building them yourself
- you need actively developed software with recent releases
Facets
library · maturity maintenance
nlp parser machine-learning developer-tools sentiment-analysis afinn text-analysis emoji-sentiment lexicon-based natural-language-processing nodejs javascript
2 sources
- readme: https://github.com/thisandagain/sentiment · fetched 2026-08-28 · addeebd7d6a4
- registry_npm: https://registry.npmjs.org/sentiment · fetched 2026-08-29 · 12b4ff5fc615
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thisandagain/sentiment | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="thisandagain/sentiment")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem