tauren / tmpl-precompile

Precompile jade templates into executable functions
MIT License
25 stars 7 forks source link

Integrate with node-pkginfo #5

Open tauren opened 13 years ago

tauren commented 13 years ago

Consider integrating node-pkginfo. It enables easy access to version and other information from package.json. https://github.com/indexzero/node-pkginfo

Use this to report the version number when tmpl-precompile is run. Avoids hard-coding version number into javascript itself like I've seen done in many other modules.