What is node.js used for?
正念的奇迹
正念的奇迹 2017-07-07 14:41:14
0
2
1978

I don’t quite understand what node.js is used for



正念的奇迹
正念的奇迹

继续学习奋勇向前

reply all(2)
Peter_Zhu

Everyone who studies PHP knows that using an integrated environment can greatly simplify environment configuration and quickly develop web projects.

Node.js is a package of JavaScript runtime environment. It takes the V8 engine of Chrome browser as its core and provides a complete solution for web projects from front-end to back-end. In just 10 lines of code, you can create a web server and run it in a browser window, which is pretty awesome;

We know that PHP programs can be run on the command line using PHP commands. What about js files? Can it be run using a command? That's fine if you have Node.js installed. For example, if you have: my.js, you can use: node my.js to run it without having to run it in the browser.

We use Node.js, largely because of its large number of application packages. Many applications developed on Node.js have greatly enriched the customer experience.

Just use; npm install installation command to install your favorite plug-in package. For example Browser-sync

黄健

I don’t know, it’s a rare deal

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template