<!doctype html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< title > __SECTION__ Node.js __VERSION__ Manual & Documentation< / title >
< link rel = "stylesheet" href = "assets/style.css" >
< link rel = "stylesheet" href = "assets/sh.css" >
< link rel = "canonical" href = "http://nodejs.org/api/__FILENAME__.html" >
< / head >
< body class = "alt apidoc" id = "api-section-__FILENAME__" >
< div id = "intro" class = "interior" >
< a href = "/" title = "Go back to the home page" >
< img id = "logo" src = "http://nodejs.org/images/logo-light.png" alt = "node.js" >
< / a >
< / div >
< div id = "content" class = "clearfix" >
< div id = "column2" class = "interior" >
< ul >
< li > < a href = "/" class = "home" > Home< / a > < / li >
< li > < a href = "/#download" class = "download" > Download< / a > < / li >
< li > < a href = "/about/" class = "about" > About< / a > < / li >
< li > < a href = "http://search.npmjs.org/" class = "npm" > npm Registry< / a > < / li >
< li > < a href = "http://nodejs.org/api/index.html" class = "docs current" > Docs< / a > < / li >
< li > < a href = "http://blog.nodejs.org" class = "blog" > Blog< / a > < / li >
< li > < a href = "/community/" class = "community" > Community< / a > < / li >
< li > < a href = "/logos/" class = "logos" > Logos< / a > < / li >
< li > < a href = "http://jobs.nodejs.org/" class = "jobs" > Jobs< / a > < / li >
< / ul >
< p class = "twitter" > < a href = "http://twitter.com/nodejs" > @nodejs< / a > < / p >
< / div >
< div id = "column1" class = "interior" >
< header >
< h1 > Node.js __VERSION__ Manual & Documentation< / h1 >
< div id = "gtoc" >
< p >
< a href = "index.html" name = "toc" > Index< / a > |
< a href = "all.html" > View on single page< / a > |
< a href = "__FILENAME__.json" > View as JSON< / a >
< / p >
< / div >
< hr >
< / header >
< div id = "toc" >
< h2 > Table of Contents< / h2 >
__TOC__
< / div >
< div id = "apicontent" >
__CONTENT__
< / div >
< / div >
< / div >
< div id = "footer" >
< ul class = "clearfix" >
< li > < a href = "/" > Node.js< / a > < / li >
< li > < a href = "/#download" > Download< / a > < / li >
< li > < a href = "/about/" > About< / a > < / li >
< li > < a href = "http://search.npmjs.org/" > npm Registry< / a > < / li >
< li > < a href = "http://nodejs.org/api/index.html" > Docs< / a > < / li >
< li > < a href = "http://blog.nodejs.org" > Blog< / a > < / li >
< li > < a href = "/community/" > Community< / a > < / li >
< li > < a href = "/logos/" > Logos< / a > < / li >
< li > < a href = "http://jobs.nodejs.org/" > Jobs< / a > < / li >
< li > < a href = "http://twitter.com/nodejs" class = "twitter" > @nodejs< / a > < / li >
< / ul >
< p > Copyright 2010-2012 < a href = "http://joyent.com" > Joyent, Inc< / a > , Node.js is a < a href = "/trademark-policy.pdf" > trademark< / a > of Joyent, Inc. View < a href = "https://raw.github.com/joyent/node/__VERSION__/LICENSE" > license< / a > .< / p >
< / div >
< script src = "../sh_main.js" > < / script >
< script src = "../sh_javascript.min.js" > < / script >
< script > highlight ( undefined , undefined , 'pre' ) ; < / script >
< script >
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
< / script >
< script >
try {
var pageTracker = _gat._getTracker("UA-10874194-2");
pageTracker._trackPageview();
} catch(err) {}< / script >
< / body >
< / html >