[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9485":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},9485,"shelf","dart-lang\u002Fshelf","dart-lang","Web server middleware for Dart","https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf",null,"Dart",1000,135,55,68,0,1,19.4,"BSD 3-Clause \"New\" or \"Revised\" License",false,"master",true,[24,25,26],"dart","http","server","2026-06-12 02:02:08","[![Build Status](https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fworkflows\u002FDart%20CI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Factions?query=workflow%3A\"Dart+CI\"+branch%3Amaster)\n\n## About Shelf\n\nShelf makes it easy to create and compose web servers and parts of web servers. How?\n\n- Expose a small set of simple types.\n- Map server logic into a simple function: a single argument for the request, the response is the return value.\n- Trivially mix and match synchronous and asynchronous processing.\n- Flexibility to return a simple string or a byte stream with the same model.\n\nIt was inspired by [Connect](https:\u002F\u002Fgithub.com\u002Fsenchalabs\u002Fconnect) for NodeJS\nand [Rack](https:\u002F\u002Fgithub.com\u002Frack\u002Frack) for Ruby.\n\nSee the [package:shelf readme](pkgs\u002Fshelf\u002F) for more information.\n\n## Packages\n\n| Package | Description | Issues | Version |\n| --- | --- | --- | --- |\n| [shelf](pkgs\u002Fshelf\u002F) | A model for web server middleware that encourages composition and easy reuse. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf-4774bc)][shelf_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf) |\n| [shelf_packages_handler](pkgs\u002Fshelf_packages_handler\u002F) | A shelf handler for serving a `packages\u002F` directory. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__packages__handler-4774bc)][shelf_packages_handler_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_packages_handler.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_packages_handler) |\n| [shelf_proxy](pkgs\u002Fshelf_proxy\u002F) | A shelf handler for proxying HTTP requests to another server. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__proxy-4774bc)][shelf_proxy_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_proxy.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_proxy) |\n| [shelf_router](pkgs\u002Fshelf_router\u002F) | A convenient request router for the shelf web-framework, with support for URL-parameters, nested routers and routers generated from source annotations. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__router-4774bc)][shelf_router_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_router.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_router) |\n| [shelf_router_generator](pkgs\u002Fshelf_router_generator\u002F) | A package:build-compatible builder for generating request routers for the shelf web-framework based on source annotations. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__router__generator-4774bc)][shelf_router_generator_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_router_generator.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_router_generator) |\n| [shelf_static](pkgs\u002Fshelf_static\u002F) | Static file server support for the shelf package and ecosystem. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__static-4774bc)][shelf_static_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_static.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_static) |\n| [shelf_test_handler](pkgs\u002Fshelf_test_handler\u002F) | A Shelf handler that makes it easy to test HTTP interactions. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__test__handler-4774bc)][shelf_test_handler_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_test_handler.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_test_handler) |\n| [shelf_web_socket](pkgs\u002Fshelf_web_socket\u002F) | A shelf handler that wires up a listener for every connection. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fshelf__web__socket-4774bc)][shelf_web_socket_issues] | [![pub package](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fshelf_web_socket.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fshelf_web_socket) |\n| [_shelf_compliance](pkgs\u002F_shelf_compliance\u002F) | HTTP\u002F1.1 compliance and hardening tests. | [![issues](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F_shelf__compliance-4774bc)][_shelf_compliance_issues] | *(not published)* |\n\n[shelf_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf\n[shelf_packages_handler_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_packages_handler\n[shelf_proxy_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_proxy\n[shelf_router_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_router\n[shelf_router_generator_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_router_generator\n[shelf_static_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_static\n[shelf_test_handler_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_test_handler\n[shelf_web_socket_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ashelf_web_socket\n[_shelf_compliance_issues]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fshelf\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Apackage%3A_shelf_compliance\n\n## Publishing automation\n\nFor information about our publishing automation and release process, see\nhttps:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fecosystem\u002Fwiki\u002FPublishing-automation.\n","Shelf 是一个用于 Dart 语言的 Web 服务器中间件库。它通过提供一套简洁的类型和将服务器逻辑映射到简单函数的方式，简化了 Web 服务器及其组件的创建与组合过程。Shelf 支持同步和异步处理的无缝集成，并允许使用相同的模型返回简单的字符串或字节流，从而为开发者提供了极大的灵活性。此外，Shelf 还包含了多个扩展包，如静态文件服务、请求路由等，进一步增强了其功能性和实用性。此项目非常适合需要构建高效且易于维护的Web应用或API服务的场景中使用。",2,"2026-06-11 03:23:03","top_language"]