NodeJS Documents (Simple Chinese Version)
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
html
tools/doc
README.md

README.md

官方文档同步标识

  • Version: v0.6.11
  • Commit hash: 7343f8e776146bf4461348a9130f2c5040a0dfa0
  • Date: 2012/2/10 13:58:58

最近更新

完成加密模块文档的翻译 修正HTML模板的一些bug

中文目录和翻译进度

翻译斟酌

##addons_cn

  • Addon patterns是否保留英文原文(line 80)

##modules_cn

  • 关于module.require的作用(line 232)

Note that in order to do this, you must get a reference to the module object. Since require() returns the exports, and the module is typically only available within a specific module's code, it must be explicitly exported in order to be used.

注意,为了使用require方法,必须先获得对module对象的引用。因为require()会返回exports, 并且module通常只在特殊的模块代码中有效,所以只在需要用到时才导出。

##stream_cn

  • 关于incoming的正确释义(line 40)

Emitted when the underlying file descriptor has been closed. Not all streams will emit this. (For example, an incoming HTTP request will not emit 'close'.)

当底层的文件描述符被关闭时触发。并不是所有的流都会触发这个事件。(例如,一个达到的HTTP请求就不会触发'close'。)

##crypto_cn

  • 关于crypto.getDiffieHellman(line 261)

The advantage of using this routine is that the parties don't have to generate nor exchange group modulus beforehand, saving both processor and communication time.

用这个程序的好处是不需要预先生成多方也不需要改变组模块,可以同时节省处理和通讯的时间。