vibrance-z 0.3.1
A light web framework that works on top of vibe.d.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
vibrance-z
a revival of vibrant.d
overview
vibrant.d is a light routing framework that mimicks the style of frameworks like Sinatra and Spark.
a simple example
with (vib) {
Get("/hello", (req, res) => "Hello World!");
Before("/hello/:name", (req, res) {
if (req.params["name"] == "Jack") {
halt("Don't come back.");
}
});
Get("/hello/:name", (req, res) =>
"Hello " ~ req.params["name"]
);
}
demo
see hello demo for a demo showing off some features.
- Registered by redthing1
- 0.3.1 released a year ago
- redthing1/vibrance-z
- MIT
- Copyright © 2015, Mihail K., Copyright © 2022, redthing1
- Authors:
- Dependencies:
- dquery, vibe-d:web
- Versions:
-
0.3.2 2024-Oct-13 0.3.1 2023-Jul-07 0.3.0 2023-Jul-02 0.2.3 2022-Nov-06 0.2.2 2022-Nov-06 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
75 downloads total
-
- Score:
- 0.7
- Short URL:
- vibrance-z.dub.pm