0.0.0 • Published 12 years ago
co-template v0.0.0
Syntax
{{id}}replaceidwith 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 yupImplementation
This is basically a thin wrapper around co-cat which is a streaming stream concatenator.
0.0.0
12 years ago