codejoust/session.js
Session.js - Get user session information observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 5353
- days_rel: n/a
- days_push: 1926
- n_releases_24m: 0
Adoption not part of the score
1190 stars · 81 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library that collects visitor session information (visit counts, referrer, search engine, locale, and approximate location) in the browser and exposes it via a global session object. It relies on the Google JavaScript loader for location data.
Use cases
- get visitor location and locale in the browser
- track returning visitors and visit counts
- detect which search engine or referrer sent a user
- personalize page content based on session data
- show targeted messages to visitors from facebook or google
When to choose
- you need a lightweight, dependency-free client-side session info script for a legacy site
- you want quick referrer, search engine, and geolocation data without building your own tracking
When to avoid
- you need privacy-compliant or GDPR-friendly analytics
- you need actively maintained software or modern module support
- you rely on Google's JS loader for geolocation, which may be deprecated or unavailable
Facets
library · maturity abandoned
analytics http-client developer-tools web-development analytics frontend browser visitor-tracking geolocation referrer-info browser-session client-side javascript
1 source
- readme: https://github.com/codejoust/session.js · fetched 2026-08-28 · ea570af3d0d6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| codejoust/session.js | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="codejoust/session.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem