博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
我在阅读NodeJS文档中读出的19个套路
阅读量:2393 次
发布时间:2019-05-10

本文共 475 字,大约阅读时间需要 1 分钟。

对于一直在使用Node.js的你来说,是否曾经安静地坐下来仔细阅读Node.js的完整文档。如果没有,或许可以看看本文。

作者已使用Node.js三年之久,本以为对其已无所不知,谁知在阅读文档的过程中又发现了很多本来不知道的知识。本文分享了其中的19个新知识,并同时进行解析。

  1. querystring:可以用作通用解析器的模块;
  2. V8 Inspector;
  3. nextTick 与 setImmediate的区别;
  4. Server.listen 可以使用Object作为参数;
  5. 相对地址;
  6. Path Parsing:路径解析;
  7. Logging with colors;
  8. 使用setInterval执行定时任务;
  9. Use Signal Constants;
  10. IP Address Validation;
  11. os.EOF;
  12. HTTP 状态码;
  13. 避免异常崩溃;
  14. Just this once();
  15. Custom Console;
  16. DNS lookup;
  17. fs 在不同OS上有一定差异;
  18. net 模块差不多比http快上两倍;
  19. REPL tricks。

全文请见:

转载地址:http://fprab.baihongyu.com/

你可能感兴趣的文章
collective intelligence framework
查看>>
2015年关注的技术书籍
查看>>
windows 2003 server 记录远程桌面的连接登录日志和修改3389连接端口方法
查看>>
zZ-ModSecurity Framework支持Web应用安全核心规则集
查看>>
nginx - low risk webdav destination bug
查看>>
Lessons Learned from Building and Running MHN, the World's Largest Crowdsourced Honeynet
查看>>
Logwatch Linux/Unix系统日志检测软件
查看>>
/etc/sudoers中的含义
查看>>
Five must-know open source SDN controllers
查看>>
Finding Bad Guys with 35 million Flows, 2 Analysts, 5 Minutes and 0 Dollars
查看>>
SANS FOR572 Logstash
查看>>
List of Windows Auto Start Locations
查看>>
Remote Installation Service (RIS) in Windows Server 2003
查看>>
Layer Four Traceroute
查看>>
STP mitm attack idea
查看>>
Month of PHP Security - Summary
查看>>
nginx Directory Traversal Vulnerability
查看>>
Linux下apache+svn+ssl完美结合搭建安全版本控制平台
查看>>
Nginx 0.8.35 Space Character Remote Source Disclosure
查看>>
showrun的cissp经验谈
查看>>