{"id":24383249,"url":"https://github.com/firstandthird/hapi-referrer","last_synced_at":"2025-12-29T01:28:41.695Z","repository":{"id":27880844,"uuid":"115450087","full_name":"firstandthird/hapi-referrer","owner":"firstandthird","description":"Tracks referrers ","archived":false,"fork":false,"pushed_at":"2023-01-07T22:19:48.000Z","size":340,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-04T09:40:25.757Z","etag":null,"topics":["hapi-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firstandthird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-26T19:42:16.000Z","updated_at":"2021-02-19T01:32:26.000Z","dependencies_parsed_at":"2023-01-14T07:39:57.371Z","dependency_job_id":null,"html_url":"https://github.com/firstandthird/hapi-referrer","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-referrer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-referrer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-referrer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-referrer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstandthird","download_url":"https://codeload.github.com/firstandthird/hapi-referrer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258504,"owners_count":20262301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hapi-plugin"],"created_at":"2025-01-19T10:14:00.739Z","updated_at":"2025-12-29T01:28:41.634Z","avatar_url":"https://github.com/firstandthird.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003ehapi-referrer\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/firstandthird/hapi-referrer/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/workflow/status/firstandthird/hapi-referrer/Test/main?label=Tests\u0026style=for-the-badge\" alt=\"Test Status\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/firstandthird/hapi-referrer/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/workflow/status/firstandthird/hapi-referrer/Lint/main?label=Lint\u0026style=for-the-badge\" alt=\"Lint Status\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/hapi-referrer.svg?label=npm\u0026style=for-the-badge\" alt=\"NPM\" /\u003e\n\u003c/p\u003e\n\nHapi plugin to log referrers from search/ads/social/etc\n\n## Installation\n\n```sh\nnpm install hapi-referrer\n```\n\n_or_\n\n```sh\nyarn add hapi-referrer\n```\n\n## Options:\n - `cookieName` - Name of the cookie to be set\n - `ttl` - cookie expiration, defaults to 30 days\n - `domains` - array of domains. Domains in the list will not have their referrer set\n - `ignoredPaths` - array of paths. Paths set here wont have cookies set. Note, applies to all paths matching the text. Example: `/public` would also block `/public/css/common.css`\n - `verbose` - Enable debug logging when cookie set\n\n\n---\n\n\u003ca href=\"https://firstandthird.com\"\u003e\u003cimg src=\"https://firstandthird.com/_static/ui/images/safari-pinned-tab-62813db097.svg\" height=\"32\" width=\"32\" align=\"right\"\u003e\u003c/a\u003e\n\n_A [First + Third](https://firstandthird.com) Project_\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Fhapi-referrer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstandthird%2Fhapi-referrer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Fhapi-referrer/lists"}