{"id":24764503,"url":"https://github.com/seamapi/wrangler-config","last_synced_at":"2025-07-22T22:05:41.099Z","repository":{"id":65468006,"uuid":"591783220","full_name":"seamapi/wrangler-config","owner":"seamapi","description":"A tool to help you build wrangler.toml with typescript","archived":false,"fork":false,"pushed_at":"2025-02-10T22:52:08.000Z","size":102,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-18T11:59:50.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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}},"created_at":"2023-01-21T21:11:52.000Z","updated_at":"2024-12-02T15:15:45.000Z","dependencies_parsed_at":"2024-12-30T08:31:44.163Z","dependency_job_id":"cefeb314-963d-4370-9356-5c7874ca658e","html_url":"https://github.com/seamapi/wrangler-config","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"af27d039c3ec18924fb9ea72afe307063ef61331"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seamapi/wrangler-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fwrangler-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fwrangler-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fwrangler-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fwrangler-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seamapi","download_url":"https://codeload.github.com/seamapi/wrangler-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seamapi%2Fwrangler-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580406,"owners_count":23951218,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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:56.292Z","updated_at":"2025-07-22T22:05:41.059Z","avatar_url":"https://github.com/seamapi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wrangler-config\n\nWrite your wrangler config with Typescript instead of `toml`.\n\nAutomatically generates a `wrangler.toml` file from a `wrangler.config.ts`.\n\n## Usage\n\n```ts\nimport { checkConfig } from \"wrangler-config\"\nexport default checkConfig({\n  name: \"my-config\",\n  main: \"src/index.ts\",\n  compatibility_date: \"2023-01-20\",\n  node_compat: true,\n  kv_namespaces: [\n    {\n      binding: \"BLOG_CACHE\",\n      id: \"b9b24cee481e4e5387f02e2331c14349\"\n    }\n  ],\n  vars: [\n    MY_ENV_VAR: \"b9b24cee481e4e5387f02e2331c14349\"\n  ],\n  triggers: {\n    crons: [\"*/1 * * * *\"]\n  }\n})\n```\n\nRunning `wrangler-config` will generate the following `wrangler.toml`:\n\n```toml\nname = \"my-config\"\nmain = \"src/index.ts\"\ncompatibility_date = \"2023-01-20\"\nnode_compat = true\n\n[[kv_namespaces]]\nbinding = \"BLOG_CACHE\"\nid = \"b9b24cee481e4e5387f02e2331c14349\"\n\n[vars]\nMY_ENV_VAR = \"173a62937e944f8001c8c195bf7aa2a5\"\n\n[triggers]\ncrons = [\"*/1 * * * *\"]\n\n```\n\n## As Library\n\nYou can access [types](./types.ts) by importing `wrangler-config`.\n\n```ts\nimport type { WranglerConfig } from \"wrangler-config\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseamapi%2Fwrangler-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseamapi%2Fwrangler-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseamapi%2Fwrangler-config/lists"}