Ross ROSS = Recommend OSS · open-source software intelligence for agents

ichord/Caret.js

Get caret postion and offset from text field observed · 2026-08-28

github.com/ichord/Caret.js · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: n/a
  • age_days: 4911
  • days_rel: n/a
  • days_push: 2836
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1051 stars · 161 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity maintenance

ui-components developer-tools frontend web-development text-editors browser jquery-plugin caret-position contenteditable at-js-dependency text-input javascript jquery

1 source

Member repositories

RepositoryRoleHealth v2
ichord/Caret.jsmain32

For agents

markdown · JSON · MCP: product_card(name="ichord/Caret.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem