2.0.0 • Published 3 years ago

terminalhttp v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Installation

npm install terminalhttp

Examples

const terminal = require("terminalhttp");

let http = new terminal.make("<h1>Hello, World</h1>");

let server = http.createServer();

server.listen(8000);

This prints out "Hello, World!" at http://localhost:8000

const terminal = require("terminalhttp");

let html = new terminal.file("index.html");

let http = new terminal.make(html);

let server = http.createServer();

server.listen(8000);

This pronts out the contents of index.html into http://localhost:8000

TO-DO

  • Basic Node.JS http functionality
  • Basic File navigation functionality
  • Ability to upload JavaScript and CSS without linking in html

Author's Note

Were ate 64 downloads! Let's keep going!

Thanks for downloading!

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago