1.0.1 • Published 9 months ago
centric-farewell-junaid v1.0.1
##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
;