{"id":24764470,"url":"https://github.com/seamapi/node-traefik","last_synced_at":"2026-02-07T02:02:13.843Z","repository":{"id":57378803,"uuid":"383603323","full_name":"seamapi/node-traefik","owner":"seamapi","description":"An NPM module for interfacing traefik. Easily reverse proxies and load balancers.","archived":false,"fork":false,"pushed_at":"2024-11-19T01:51:59.000Z","size":237,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-01T15:56:17.669Z","etag":null,"topics":[],"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/seamapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-06T21:35:37.000Z","updated_at":"2022-11-15T06:29:51.000Z","dependencies_parsed_at":"2022-09-02T21:20:31.533Z","dependency_job_id":null,"html_url":"https://github.com/seamapi/node-traefik","commit_stats":null,"previous_names":["hello-seam/node-traefik"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/seamapi/node-traefik","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fnode-traefik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fnode-traefik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fnode-traefik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fnode-traefik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seamapi","download_url":"https://codeload.github.com/seamapi/node-traefik/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fnode-traefik/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007193,"owners_count":26084249,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-28T22:31:29.739Z","updated_at":"2025-10-11T14:30:37.163Z","avatar_url":"https://github.com/seamapi.png","language":"JavaScript","readme":"# Node Traefik (traefik)\n\n\u003e Traefik (pronounced traffic) is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy\n\nUse [traefik](https://github.com/traefik/traefik) as an npm module for tighter integration with node apps.\n\n## Usage\n\n`npm install traefik`\n\n```javascript\nconst traefik = require(\"traefik\")\n\n// Path to YAML/TOML\nlet service = await traefik.start(\"/path/to/traefik.yml\")\n\n// Static Config Only\nservice = await traefik.start({\n  defaultEntryPoints: [\"http\"],\n  entryPoints: {\n    http: {\n      address: \":3001\",\n    },\n  },\n  \"log.level\": \"DEBUG\",\n})\n\n// Long Form\nservice = await traefik.start({\n  log: true,\n  staticConfig: {\n    defaultEntryPoints: [\"http\"],\n    entryPoints: {\n      http: {\n        address: \":3001\",\n      },\n    },\n    // dot notation is also OK!\n    \"log.level\": \"DEBUG\",\n  },\n  dynamicConfig: {\n    http: {\n      routers: {\n        someRouter: {\n          service: \"someService\",\n          rule: \"PathPrefix(`/`)\",\n        },\n      },\n      services: {\n        someService: {\n          \"loadBalancer.servers\": [{ url: \"http://localhost:3000\" }],\n        },\n      },\n    },\n  },\n})\n\nawait service.stop()\n```\n\n## Options\n\nSee the traefik [static configuration](https://doc.traefik.io/traefik/reference/static-configuration/file/) and [dynamic configuration](https://doc.traefik.io/traefik/reference/dynamic-configuration/file/) reference pages.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseamapi%2Fnode-traefik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseamapi%2Fnode-traefik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseamapi%2Fnode-traefik/lists"}