{"library":"autolinker","type":"library","category":null,"description":"Autolinker.js is a robust JavaScript utility designed to automatically detect and convert various patterns like URLs, email addresses, phone numbers, and social media mentions/hashtags (Twitter, Instagram, YouTube, TikTok, Facebook, Soundcloud) within plain text or HTML into clickable hyperlinks. The current stable version is `v4.1.5`. The library maintains an active release cadence, frequently publishing minor and patch updates, often focusing on performance enhancements and bug fixes. A key differentiator is its rewritten URL parser in `v4.0.0`, which utilizes a finite state machine for `O(n)` linear time performance, significantly improving speed and preventing 'catastrophic backtracking' issues common with regular expression-based parsers. Unlike many alternatives, Autolinker.js is meticulously designed to correctly handle HTML input, avoiding the creation of nested anchor tags or inadvertently modifying existing `href` attributes, making it particularly suitable for processing rich text content where correctness and performance are critical.","language":"javascript","status":"active","version":"4.1.5","tags":["javascript","auto","link","autolink","url","urls","anchor","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install autolinker","imports":["import Autolinker from 'autolinker';","const Autolinker = require('autolinker');","import Autolinker, { Match } from 'autolinker';"]},{"cmd":"yarn add autolinker","imports":[]},{"cmd":"pnpm add autolinker","imports":[]}],"homepage":"https://autolinker.io","github":"https://github.com/gregjacobs/Autolinker.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/autolinker","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/autolinker/compatibility"}}