1.0.1 • Published 9 months ago

centric-farewell-junaid v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

##This is basic package to wish the farewell

Sample code:

const http = require('http');
const {getFarewellGreetings} = require('centric-farewell-junaid');

const hostname = '127.0.0.1';
const port = 3000;

console.log(getFarewellGreetings)
const server = http.createServer((req, res) => {
    res.writeHeader(200, {"Content-Type": "text/html"});  
    res.write(getFarewellGreetings(req));  
    res.end();  
});

server.listen(port, ()=> console.log(`Local server listening at: ${hostname}:${port}`));

###Output

Sample output;