co-template
v0.0.0
Published
Streaming templates for co
Downloads
3
Readme
Syntax
{{id}}
replaceid
with the respective string or stream{{#id}} ... {{/id}}
loop over a stream or array, dive into an object's scope.
Block scoping
{{#outer}}{{inner}} {{global}}{{/outer}}
{
"outer": {
"inner": "inside"
},
"global": "yup"
}
inside yup
Implementation
This is basically a thin wrapper around co-cat which is a streaming stream concatenator.