{"adoption": {"forks": 299, "observed_at": "2026-08-28T04:03:26.633901+00:00", "stars": 1064}, "canonical_url": "https://ross.abutalabs.com/products/tough-cookie", "card": {"archived": false, "artifact_type": "library", "description": "RFC6265 Cookies and CookieJar for Node.js", "domain": ["web-development", "developer-tools", "security"], "enriched": true, "function": ["http-client", "serialization", "security"], "health_score": 99, "homepage": null, "language": "TypeScript", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["salesforce/tough-cookie"], "name": "salesforce/tough-cookie", "platform": [], "pushed_at": "2026-08-14T18:03:30+00:00", "repo": "salesforce/tough-cookie", "stars": 1064, "tags": ["cookies", "rfc6265", "cookiejar", "http-headers", "set-cookie", "samesite", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["parse and generate Set-Cookie headers in node", "manage a cookie jar across http requests", "handle SameSite cookie rules for scraping", "persist cookies between requests in an http client", "implement RFC6265 cookie handling in typescript"], "what_it_is": "Tough Cookie is a Node.js library implementing RFC6265 (and RFC6265bis features like SameSite and cookie prefixes) for parsing, storing, and retrieving HTTP cookies. It provides Cookie and CookieJar classes with pluggable storage, used widely by HTTP clients and scrapers.", "when_to_avoid": ["you only need browser cookie handling (browsers do this natively)", "you need cookie management outside Node.js", "you want a full HTTP client rather than just cookie logic"], "when_to_choose": ["you need standards-compliant cookie parsing and storage in Node.js", "you're building an HTTP client, scraper, or test tool that must track cookies", "you need SameSite or cookie-prefix support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tough-cookie", "repo": "salesforce/tough-cookie", "role": "main", "score": 87}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "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:26.633901+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.633901+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:56:06.386892+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "73bec9d20ce116d357e753690521680f57b85ec3b6f5dd228ca6f933a203ae07", "fetched_at": "2026-08-28T04:03:26.633901+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/tough-cookie"}, {"content_hash": "d3261465d5c056acd1237321ce693d6fed633cc877eed6e73281d35282561d05", "fetched_at": "2026-08-29T12:57:49.737664+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tough-cookie"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 68}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5432, "days_push": 19, "days_rel": 57, "gap_med": 118.5, "n_releases_24m": 7}, "score": 87, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}