{"id":21083370,"url":"https://github.com/billykirk01/verse","last_synced_at":"2026-05-16T23:31:48.609Z","repository":{"id":57675584,"uuid":"434347856","full_name":"billykirk01/verse","owner":"billykirk01","description":"A lightweight tool for serving http built on top of the Deno standard library.","archived":false,"fork":false,"pushed_at":"2022-03-04T14:22:26.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T23:48:21.160Z","etag":null,"topics":["deno","http-server","typescript"],"latest_commit_sha":null,"homepage":"","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/billykirk01.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}},"created_at":"2021-12-02T19:24:58.000Z","updated_at":"2021-12-18T15:44:55.000Z","dependencies_parsed_at":"2022-09-26T20:41:36.426Z","dependency_job_id":null,"html_url":"https://github.com/billykirk01/verse","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billykirk01%2Fverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billykirk01%2Fverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billykirk01%2Fverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billykirk01%2Fverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billykirk01","download_url":"https://codeload.github.com/billykirk01/verse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240395740,"owners_count":19794574,"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":["deno","http-server","typescript"],"created_at":"2024-11-19T20:17:49.520Z","updated_at":"2026-05-16T23:31:43.582Z","avatar_url":"https://github.com/billykirk01.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✨ verse\n\nA lightweight tool for serving http built on top of the Deno standard library.\n\nThis project takes much inspiration from the\n[sift](https://github.com/satyarohith/sift) Deno project so thank you\n[@satyarohith](https://github.com/satyarohith) for that work.\n\n## 📦 Importing\n\n```typescript\nimport {\n  serveJson,\n  serveMarkdown,\n  serveRemote,\n  serveStatic,\n} from \"https://deno.land/x/verse/mod.ts\";\n```\n\n## 📖 Example Usage\n\nThis package can be nicley paired with something like\n[Router](https://crux.land/router@0.0.5) by\n[Denosaurs](https://github.com/denosaurs)\n\n```typescript\nimport { serve } from \"https://deno.land/std@0.114.0/http/server.ts\";\nimport { router } from \"https://crux.land/router@0.0.5\";\nimport { serveJson, serveMarkdown, serveRemote, serveStatic } from \"./mod.ts\";\n\nconst handler = router({\n  // a single file\n  \"/\": serveStatic(\"./public/index.html\"),\n\n  // a directory of files (browsing to /public will present a directory listing page)\n  // note: must include :filename? at end of the path as below\n  \"/public/:filename?\": serveStatic(\"./public\"),\n\n  // json\n  \"/json\": serveJson({ \"Hello\": \"world\" }),\n\n  // a remote resource\n  \"/todos/:id\": serveRemote(\"https://jsonplaceholder.typicode.com/todos/:id\"),\n\n  // a markdown file rendered in Github flavored html\n  \"/markdown\": serveMarkdown(\n    \"https://raw.githubusercontent.com/billykirk01/verse/master/README.md\",\n  ),\n});\n\nconsole.log(\"Listening on http://localhost:8000\");\nawait serve(handler);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillykirk01%2Fverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillykirk01%2Fverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillykirk01%2Fverse/lists"}