# codejoust/session.js

Session.js - Get user session information

Repository: https://github.com/codejoust/session.js
Canonical: https://ross.abutalabs.com/products/sessionjs
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2021-05-25T15:02:35+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5353, "days_push": 1926, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1190, forks 81 (observed 2026-08-28T04:03:56.051274+00:00)

## What it is
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
- artifact type: library
- maturity: abandoned
- function: analytics, http-client, developer-tools
- domain: web-development, analytics, frontend
- platform: browser
- tags: visitor-tracking, geolocation, referrer-info, browser-session, client-side, javascript

## Member repositories
- codejoust/session.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.051274+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:23:01.238756+00:00, confidence not recorded.
  - readme: https://github.com/codejoust/session.js (fetched 2026-08-28T04:03:56.051274+00:00, sha ea570af3d0d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
