(转)nodeJS 中文API node.js 中文文档 Node.js Manual & Documentation Table Of Contents Synopsis 概要 Global Objects 全局对象 global util.log(string) util.inspect(object, showHidden=false, depth=2) util.pump(readableStream, writableStream, [callback]) util.inherits(constructor, superConstructor) Syn...
来源:http://nodejs.cn/api/documentation/关于本文档# 本文档的目标是,从参考和概念的角度全面地讲解 Node.js 的 API,每个章节描述了一个内置模块或高级概念。 属性的类型、方法的参数、以及事件处理的参数,都会被详细地列在标题下的列表中。 每一个 .html 文档都有一份对应的 .json 文档,且内容相同。
destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Node destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node frameLoop(delay:int, caller:*, method:Function...
* @api {delete} /api/v1/tasks/:id Delete a task * @apiVersion 1.0.0 * @apiName Delete * @apiGroup Task * @apiPermission authenticated user * * @apiParam {String} id The task id * * @apiExample {js} Example usage: * $http.defaults.headers.common["Authorization"] = token; * ...
api文档生成工具官网 Inline Documentation for RESTful web APIsapidocjs.com/ 一、全局安装工具 npm install apidoc -g 二、使用api文档生成工具 1、在项目根目录下新建(apidoc.json)文件,大致配置内容如下:(具体可以到官网找模板); { "name": "这是一个美观大方的api文档", "version": "0.1.0", "de...
Node.js v10.5.0 Documentationnodejs.org/api/v8.html v8模块暴露的API,是特定的内置到Node.js二进制文件中的V8版本。它可以这样访问: const v8 = require('v8'); API和实现可以在任何时候改变。 v8.cachedDataVersionTag() 在v8.0.0添加 返回:<integer> 返回的正式代表从V8版本衍生出的“版本标签”...
The goal of this documentation is to comprehensively explain the Node.js API, both from a reference as well as a conceptual point of view. Each section describes a built-in module or high-level concept.Where appropriate, property types, method arguments, and the arguments provided to event han...
documentation.md domain.md embedding.md errors.md esm.md events.md fs.md globals.md http.md http2.md https.md index.md inspector.md intl.md module.md modules.md n-api.md net.md os.md packages.md path.md perf_hooks.md permissions.md policy.md process.md punycode.md querystring.md re...
API Documentation oninsertOne() API Documentation onInsertOneResult Server Manual Entry oninsertOne() RunnableInsert a Document Example Insert Multiple Documents Use theinsertMany()method when you want to insert multiple documents. This method inserts documents in the order specified until an exception...
DOCUMENTATION ENTERPRISE NEWRESOURCES Education Courses Platforms Jobs Tools Devtools Mau DOCUMENTATION ENTERPRISE NEWRESOURCES Education Courses Platforms Jobs Tools Devtools Deploy with Mau Hello, nest! A progressive Node.js framework for building efficient, reliable and scalable server-side applications. ...