Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
mu2
Dynamic module mu2
Index
Variables
root
Interfaces
IParsed
Functions
clearCache
compile
compileAndRender
compileText
render
renderText
Variables
root
:
string
Functions
clearCache
(
templateName
?:
string
)
Parameters
templateName?:
string
optional
compile
(
filename
:
string
, callback
:
(err: Error, parsed: "mu2".IParsed) => void
)
Parameters
filename:
string
callback:
(err: Error, parsed: "mu2".IParsed) => void
compileAndRender
(
templateName
:
string
, view
:
any
)
:
ReadableStream
Parameters
templateName:
string
view:
any
Returns
ReadableStream
compileText
(
name
:
string
, template
:
string
, callback
:
(err: Error, parsed: "mu2".IParsed) => void
)
Parameters
name:
string
template:
string
callback:
(err: Error, parsed: "mu2".IParsed) => void
compileText
(
name
:
string
, template
:
string
)
:
IParsed
Parameters
name:
string
template:
string
Returns
IParsed
compileText
(
template
:
string
)
:
IParsed
Parameters
template:
string
Returns
IParsed
render
(
filenameOrParsed
:
string
, view
:
any
)
:
ReadableStream
Parameters
filenameOrParsed:
string
view:
any
Returns
ReadableStream
render
(
filenameOrParsed
:
IParsed
, view
:
any
)
:
ReadableStream
Parameters
filenameOrParsed:
IParsed
view:
any
Returns
ReadableStream
renderText
(
template
:
string
, view
:
any
, partials
?:
any
)
:
ReadableStream
Parameters
template:
string
view:
any
partials?:
any
optional
Returns
ReadableStream
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
mu2
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
root
IParsed
clearCache
compile
compileAndRender
compileText
render
renderText