0.0.3 • Published 12 years ago
simple-hogan v0.0.3
simple-hogan
Simple Express Middleware for Hogan.js
Getting started
Once you've installed Node.js & npm, you'll need to create a project directory.
$ mkdir new-projectNext, create a package.json file in your directory. Something like this should work:
{
"name": "new-project",
"description": "A new project using express + hogan.js for templating",
"version": "0.0.1",
"private": true,
"dependencies": {
"simple-hogan": "*"
}
}Rather than "*", you can run this to get the latest version:
$ npm info simple-hogan versionFinally, ...
$ npm installThis should install simple-hogan, hogan.js and express. The example directory in the simple-hogan module has a small example project to get you started. Typing npm start in the project directory should get this running for you.