simple-hogan

0.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i simple-hogan

Weekly Downloads

1

Version

0.0.3

License

BSD

Last publish

Collaborators

  • liamondrop