Predicts where users will click based on mouse movement, keyboard navigation, and scroll behavior. Includes touch device support. Triggers callbacks before interactions happen to enable prefetching and faster UI responses. Works with any framework.
Tentative categories were assigned with moderate confidence (0.5 to 0.75): they are shown, but they do not count toward a category’s momentum. How categories work
Install
npm install js.foresight
Adoption
Downloads (30 days)
124.9K
Observeddownloads / 30 days
Popularity
Lower half on npm
Derived26th percentile within npm
Dependents
Collectinghistory
Collecting
Maintenance
0.76
DerivedRelease cadence and recency, 0 to 1
Releases per year
55
64 versions over its life
Growth by period
Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
7 days
+8.5% · 7d
Derived+9.8K downloads / 30 days, SEP 30 → OCT 7
30 days
+16.2% · 30d
Derived+17.5K downloads / 30 days, SEP 7 → OCT 7
90 days
+65.1% · 90d
Derived+49.2K downloads / 30 days, JUL 6 → OCT 7
1 year
+708.3% · 1y
Derived+109.5K downloads / 30 days, NOV 10 → OCT 7
Adoption history
Adoption historydownloads / 30 days · 31 observations
Lightweight JavaScript library that predicts user intent based on mouse movements and keyboard navigation. Perfect for smart prefetching. Also works for mobile!