NodeJS

Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Ref:http://nodejs.org

Ref:http://nodejs.org/api/

Ref:https://cnodejs.org/getstart

Ref:http://expressjs.com

Ref:NodeJs之Socket开发

Ref:Nodejs学习笔记(四)与MySQL交互(felixge/node-mysql)

Ref:告别node-forever,拥抱PM2

Ref:PM2 介绍

pm2 start npm --name "{app name}" -- start

pm2 start npm -- start

#!/bin/bash
cd /path/to/project
npm start

(named start.sh)

pm2 start start.sh --name appNameYouLike

ref:http://www.gowhich.com/blog/724
ref:http://stackoverflow.com/questions/31579509/can-pm2-run-an-npm-start-script

Ref:Node.js入门学习笔记

Ref:nvm

Ref:nrm

Ref:n(不推荐)

Ref:利用n和nvm管理Node的版本

Ref:管理 node 版本,选择 nvm 还是 n?

Ref:nodejs-fullstack-book

Ref:https://nodejs.org/api/child_process.html

Ref:http://nodejs.cn/api/child_process.html

原文地址:https://www.cnblogs.com/ncore/p/4252559.html