lucky_router
Version, currently 0.6.013 versions
- 0.6.1latestSep 16, 2025
- 0.6.0not indexedJan 23, 2026
- 0.5.2not indexedJan 23, 2026
- 0.5.1not indexedJan 23, 2026
- 0.5.0not indexedJan 23, 2026
- 0.4.2not indexedJan 23, 2026
- 0.4.1not indexedJan 23, 2026
- 0.4.0not indexedJan 23, 2026
- 0.3.1not indexedJan 23, 2026
- 0.3.0not indexedJan 23, 2026
- 0.2.2not indexedJan 23, 2026
- 0.2.1not indexedJan 23, 2026
- 0.2.0not indexedJan 23, 2026
github.com/luckyframework/lucky_router
The router for the Lucky framework, can be used outside Lucky
Nothing has been indexed for 0.6.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
lucky_router:
github: luckyframework/lucky_router
version: ~> 0.6.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.6.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
LuckyRouter
A library for routing HTTP request with Crystal
Installation
Add this to your application's shard.yml:
dependencies:
lucky_router:
github: luckyframework/lucky_router
Usage
require "lucky_router"
router = LuckyRouter::Matcher(Symbol).new
router.add("get", "/users", :index)
router.add("delete", "/users/:id", :delete)
router.match("get", "/users").payload # :index
router.match("get", "/users").params # {} of String => String
router.match("delete", "/users/1").payload # :delete
router.match("delete", "/users/1").params # {"id" => "1"}
router.match("get", "/missing_route").payload # nil
Contributing
- Fork it ( https://github.com/luckyframework/lucky_router/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Make your changes
- Run
./bin/testto run the specs, build shards, and check formatting - Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- paulcsmith Paul Smith - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.6.0- Tagged
- Jan 23, 2026
- Commit
25cbf5e8da94- Indexed
- not yet
Dependents
Repository
github.com/luckyframework/lucky_router
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 24, 2026
- Synced
- Sep 24, 2026
- Versions
- 13