Yberri-minimalist 🚀 🚀 🚀
Yberri is a microframework for Node-js based on tries based robust routing, easy middleware binding, and plus made with sane intention.
Installation
npm install yberri --save
Yberri is FUN. (Flask friendly for python genius) ▶️
Basic useful feature list:
const Yberri = ; //handler { response; } //here is your yberri on the rock$roll const app = ; app; app; // host and port //seriosuly thats it.
Robust Routing
Routing is based on the tries algorithm, so handler dispatch for routes is blazingly fast.
const Yberri = ; //handler { // value of dynamic path const name = requestvariablePath; response; } //here is your yberri on the rock$roll const app = ; app; app; // host and port //seriosuly thats it.
Slim Method Mapping
Routing is based on the tries algorithm, so handler dispatch for routes is blazingly fast.
const Yberri = ; //handler is called for GET and POST { response; } //here is your yberri on the rock$roll const app = ; app; app; // host and port //seriosuly thats it.
Apply Body Parser middleware and get the content of the request with ease.
const Yberri bodyParserMiddleware = ; //middleware to your root of the app const app = ; //handler for POST { const body = responsebody; console response; } app; app; // host and port //Boom no extra layer of library to just parse a body.