1.1.2 • Published 7 years ago
my-npm-playground v1.1.2
npm-cli
Node.js 概述
- 单线程
I/O 概述
- 阻塞I/O:程序请求接口时,等待接口返回结果后再继续往下执行
- 非阻塞I/O:程序请求接口时,不等待接口返回结果,马上继续往下执行
- 同步I/O:接口被请求时,立即返回结果
- 异步I/O:接口被请求时,不立即返回结果
Node.js 学习模块
- http 模块
- readline 模块
- fs 模块
- os 模块
- path 模块
- querystring 模块
- url 模块
- events 模块