0.0.6 • Published 6 years ago

routez v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Routez

A Lightweight Webserver For Nodejs That Is Easy To Use, Fast And Secure!

Note: This Webserver Is Functioning But Still Is In The Process Of Being Optimised And Cleaned Up.

Build Test Information Coming

Install

npm install routez

Usage

const ws = require('routez');

let app = ws.domain("*");

app.get("/", (req, res) => res.send("Hello World!"));

ws.listen("http", { port: 3000 }).then(() => {
  console.log("Started The Webserver On HTTP Port: 3000");
}).catch((err) => console.error(err));

ws.exitCleanup();

Example

Running the following command will start up a simple demo server:

node example/index.js

For more information please visit the docs

Philosophy

This module aims to make an easy, fast and secure webserver in nodejs really simple and make it eaiser to build projects without having to keep writting the same code for each project so that it is secure.

Thanks

This module uses the dependencies: 1. cookie 2. ejs 3. mime 4. url-pattern 5. jsdoc 6. docdash

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago