0.0.3 • Published 11 years ago

simple-hogan v0.0.3

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

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-project

Next, 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 version

Finally, ...

$ npm install

This 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.

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago