# twitter-archive/twitter-text-js

A JavaScript implementation of Twitter's text processing library

Repository: https://github.com/twitter-archive/twitter-text-js
Canonical: https://ross.abutalabs.com/products/twitter-text-js
License Family: other
Archived: true
Last push: 2016-01-11T14:50:20+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5753, "days_push": 3887, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1206, forks 159 (observed 2026-08-28T04:03:59.382992+00:00)

## What it is
A JavaScript implementation of Twitter's text processing library for parsing tweets, extracting entities like hashtags, mentions, URLs, and validating tweet lengths. This repository is deprecated and merged into the twitter-text mono-repo.

## Use cases
- extract hashtags and mentions from tweet text
- validate tweet character length
- parse URLs in tweets
- autolink entities in tweet text
- count weighted characters for twitter length limits

## When to choose
- you need Twitter text parsing in JavaScript and are pinned to this legacy repo
- you want a battle-tested implementation of Twitter's text rules

## When to avoid
- starting a new project - use the twitter/twitter-text mono-repo instead
- you need actively maintained or updated text processing rules

## Facets
- artifact type: library
- maturity: abandoned
- function: nlp, parser, serialization
- domain: social-media, developer-tools
- platform: browser
- tags: twitter, text-processing, tweet-parsing, hashtag-extraction, mention-extraction, url-extraction, deprecated, natural-language-processing, javascript, nodejs

## Member repositories
- twitter-archive/twitter-text-js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.382992+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:19:19.404746+00:00, confidence not recorded.
  - readme: https://github.com/twitter-archive/twitter-text-js (fetched 2026-08-28T04:03:59.382992+00:00, sha c7f74293b7c5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
