{"id":38429453,"url":"https://github.com/manbearwiz/winston-datadog-browser","last_synced_at":"2026-01-17T04:23:05.203Z","repository":{"id":37073500,"uuid":"404410141","full_name":"manbearwiz/winston-datadog-browser","owner":"manbearwiz","description":"Send winston logs to Datadog via the browser logs SDK.","archived":false,"fork":false,"pushed_at":"2025-11-20T03:13:08.000Z","size":548,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T03:22:07.987Z","etag":null,"topics":["browser","datadog","logging","npm","winston","winston-logger","winston-transport"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/manbearwiz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-08T16:00:01.000Z","updated_at":"2025-11-20T03:12:42.000Z","dependencies_parsed_at":"2023-10-03T02:57:48.808Z","dependency_job_id":"9633f866-2780-454b-8d9e-f322ab0f589e","html_url":"https://github.com/manbearwiz/winston-datadog-browser","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":"0.30434782608695654","last_synced_commit":"b0c3e7df5a68c5d8d31a5bdd0318a293b0a856c2"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/manbearwiz/winston-datadog-browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fwinston-datadog-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fwinston-datadog-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fwinston-datadog-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fwinston-datadog-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manbearwiz","download_url":"https://codeload.github.com/manbearwiz/winston-datadog-browser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fwinston-datadog-browser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28494822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["browser","datadog","logging","npm","winston","winston-logger","winston-transport"],"created_at":"2026-01-17T04:23:05.129Z","updated_at":"2026-01-17T04:23:05.185Z","avatar_url":"https://github.com/manbearwiz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winston-datadog-browser\n\n[![npm](https://img.shields.io/npm/v/winston-datadog-browser?style=flat-square)](https://www.npmjs.com/package/winston-datadog-browser?activeTab=versions)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/winston-datadog-browser?style=flat-square)](https://bundlephobia.com/package/winston-datadog-browser)\n[![NPM](https://img.shields.io/npm/l/winston-datadog-browser?style=flat-square)](https://raw.githubusercontent.com/manbearwiz/winston-datadog-browser/master/LICENSE)\n[![npm](https://img.shields.io/npm/dt/winston-datadog-browser?style=flat-square)](https://www.npmjs.com/package/winston-datadog-browser)\n[![GitHub issues](https://img.shields.io/github/issues/manbearwiz/winston-datadog-browser?style=flat-square)](https://github.com/manbearwiz/winston-datadog-browser/issues)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release\u0026style=flat-square)](https://github.com/semantic-release/semantic-release)\n\nSend winston logs from the browser to Datadog via the [datadog browser logs SDK](https://github.com/DataDog/browser-sdk/tree/main/packages/logs#browser-log-collection).\n\n`winston-transport` + `@datadog/browser-logs`\n\n## Installation\n\n```sh\nnpm install --save winston winston-datadog-browser\n```\n\n## Usage\n\n```ts\nimport { configure, format } from 'winston';\nimport { DatadogBrowserLogs } from 'winston-datadog-browser';\n\nconfigure({\n  transports: [\n    new DatadogBrowserLogs({\n      clientToken: '\u003cDATADOG_CLIENT_TOKEN\u003e',\n      site: '\u003cDATADOG_SITE\u003e',\n      forwardErrorsToLogs: true,\n      sampleRate: 100,\n    }),\n    // Optionally, also log to browser console\n    new BrowserConsole({\n      format: format.simple(),\n    }),\n  ],\n});\n```\n\n## Configuration\n\n`DatadogBrowserLogs` uses the same configuration interface as `@datadog/browser-logs`. See the [datadog initialization parameters](https://github.com/DataDog/browser-sdk/tree/main/packages/logs#initialization-parameters) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanbearwiz%2Fwinston-datadog-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanbearwiz%2Fwinston-datadog-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanbearwiz%2Fwinston-datadog-browser/lists"}