gregjacobs/Autolinker.js
Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 68
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 5276
- days_rel: 489
- days_push: 193
- n_releases_24m: 8
Adoption not part of the score
1495 stars · 237 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript utility library that automatically converts URLs, email addresses, phone numbers, @mentions, and #hashtags in plain text or HTML into clickable anchor links. It handles HTML input safely without corrupting existing tags and runs in linear time without ReDoS vulnerability.
Use cases
- autolink urls in user comments
- convert plain text emails and phone numbers into clickable links
- linkify hashtags and mentions in a social feed
- safely autolink text that contains existing HTML
- detect and link urls without protocol prefix like google.com
- prevent ReDoS when linkifying untrusted user input
When to choose
- you need robust, fast, HTML-safe autolinking of mixed entity types (URLs, emails, phones, mentions, hashtags)
- you are processing untrusted input and need ReDoS-safe linear-time matching
- you need to avoid double-linking text inside existing anchor tags
When to avoid
- you only need simple URL detection with no HTML handling and want a minimal dependency
- you need entity extraction with structured output rather than HTML anchor generation
- you need markdown-aware link processing
Facets
library · maturity stable
parser nlp developer-tools web-development text-editors browser cross-platform autolinking url-detection hashtags mentions phone-numbers email-detection html-safe redos-safe natural-language-processing nodejs typescript
2 sources
- readme: https://github.com/gregjacobs/Autolinker.js · fetched 2026-08-28 · d7afb4bcaf8c
- registry_npm: https://registry.npmjs.org/autolinker.js · fetched 2026-08-29 · 35a24169cd45
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gregjacobs/Autolinker.js | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="gregjacobs/Autolinker.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem