作项目常常会用到好些类库,大的还好说,用的多了天然记住了名字。如express。html
但也有些小而精湛的类库,不只提供了良好的功能,自己的实现也值得研究。暂记于此。web
1.web类express
request 简单的web client请求websocket
websocket-streamsocket
2.stream类htm
through 过滤管道数据ip
trumpet 与through同样,用于管道数据的处理,提供了针对html的解析APIpip
duplexer 链接一个只读流,一个只写流,like process.stdin.pipe(process.stdout)stream