{"adoption": {"forks": 161, "observed_at": "2026-08-28T04:03:23.228247+00:00", "stars": 1051}, "canonical_url": "https://ross.abutalabs.com/products/caretjs", "card": {"archived": false, "artifact_type": "library", "description": "Get caret postion and offset from text field", "domain": ["frontend", "web-development", "text-editors"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 20, "homepage": "http://ichord.github.com/Caret.js", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["ichord/Caret.js"], "name": "ichord/Caret.js", "platform": ["browser"], "pushed_at": "2018-11-28T00:12:33+00:00", "repo": "ichord/Caret.js", "stars": 1051, "tags": ["jquery-plugin", "caret-position", "contenteditable", "at-js-dependency", "text-input", "javascript", "jquery"], "topics": [], "urls": [], "use_cases": ["get caret pixel position in a text input", "position an autocomplete dropdown next to the caret", "get or set the caret character index in a textarea", "compute caret coordinates inside an iframe editor", "build mention or emoji popup UIs in text fields"], "what_it_is": "A jQuery plugin that retrieves the caret position and offset from text inputs and textareas, and can also set caret positions. It powers At.js and supports iframe contexts.", "when_to_avoid": ["your project does not use jQuery", "you need modern framework-native caret utilities (React/Vue)", "you need active maintenance - the last release was 2018"], "when_to_choose": ["you need pixel coordinates of the caret in inputs or textareas", "you already use jQuery and At.js-style autocomplete", "you need to programmatically move the caret to a character index"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/caretjs", "repo": "ichord/Caret.js", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.228247+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:00:04.369073+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4a76a9bad955719aed8a6f70cd87180db1ed2f44f2ee5b17911ef8bd6998e1d", "fetched_at": "2026-08-28T04:03:23.228247+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ichord/Caret.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4911, "days_push": 2836, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}