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.

Authors:
  • Mihail K
  • redthing1
Dependencies:
dquery, vibe-d:web
Versions:
0.3.1 2023-Jul-07
0.3.0 2023-Jul-02
0.2.3 2022-Nov-06
0.2.2 2022-Nov-06
0.2.1 2022-Nov-06
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 69 downloads total

Score:
0.7
Short URL:
vibrance-z.dub.pm