the code for [nodebeginner](http://www.nodebeginner.org/index-zh-cn.html)