0.0.9 • Published 1 year ago

voyagerflick v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

VoyagerFlick

VoyagerFlick is a lightweight npm package that provides a simple clone of Express.js but with a TCP server. It allows you to handle basic routing for TCP requests in a manner similar to how Express.js handles HTTP requests.

THIS PROJECT IS ONLY FOR LEARNING DO NOT USE THIS PACKAGE AT PRODUCTION

Installation Guide

install package using npm

  npm i voyagerflick

Usage

const { voyagerflick } = require("voyagerflick");
const app = voyagerflick();

app.get("/getTest", (req, res) => {
  res.status(200).send("YEAHH");
});
app.get("/getJson", (req, res) => {
  res.status(200).json({ message: "JSON WORKING" });
});

app.listen("8080", () => {
  console.log("Sever Running on 8080");
});

Currently Supported Methods : GET, POST, DELETE, PUT, PATCH

Github & Linkedin

Contributing & Usage

Contributions are always welcome!

Make a pull request or raise an issue.

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago