Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Minimalist web framework for nodejs
JavaScript CoffeeScript
branch: master

This branch is 1 commit ahead, 6 commits behind kadirpekel:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
test
.gitignore
README.md
index.js
license
lint
lint.cfg
package.json

README.md

Meryl

Meryl is minimalist web framework for nodejs platform. It is really simple to use, fun to play and easy to modify.

Here is simple preview.

var meryl = require('meryl');

meryl
  .plug('GET *', function (req, resp, next) {
      resp.headers.server = 'Meryl on NodeJS';
      next();
    }
  )
  .plug('GET /private/*', function (req, resp, next) {
      resp.status = 401;
      throw 'Forbidden';
    }
  )
  .handle('GET /', function (req, resp) {
      resp.send('<h3>Hello, World!</h3>');
    }
  )
  .handle('GET /greet/{name}', function (req, resp) {
      resp.send('<h3>Hello, ' + req.params.name + '</h3>');
    }
  )
  .run();

Meryl has much more...

Please visit Meryl homepage for all related stuff.

http://coffeemate.github.com/meryl

For updates please follow: http://twitter.com/meryljs

Contributors:

Something went wrong with that request. Please try again.