I figured this would be a nice addition at almost no cost (in terms of code length).
Feel free to use this and create a package.json, i.e for npm registration.
Added "node" compatibility
This looks good. Thanks for the pull!
root.templatez is not defined if exports exist, right?
Right, could this be an issue?
@shinuza It could be. We might need to back this out until we can figure out a better solution.
This bit was inspired by underscore/backbone. You might want to check it out, there's also work to make it compatible with AMD, it depends how far you want to take it.
So that would be :
Sounds good to me, now you may want to have a build system to create these on the fly.