Mission Node.js

 

https://www.freecodecamp.org/news/what-exactly-is-node-js-ae36e97449f5/

 

Node_js also I am practicing from here.

https://www.w3schools.com/nodejs/nodejs_http.asp

 

Node.Js code to url parse:

var url = require('url');
var adr = 'http://localhost:8080/default.htm?year=2017&month=february';
//Parse the address:
var q = url.parse(adr, true);

/*The parse method returns an object containing url properties*/
console.log(q.host);
console.log(q.pathname);
console.log(q.search);

/*The query property returns an object with all the querystring parameters as properties:*/
var qdata = q.query;
console.log(qdata.month);

 

Finished till now.

https://www.w3schools.com/nodejs/nodejs_email.asp

 

It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published. Required fields are marked *