{
  "author": {
    "name": "Igor Soarez",
    "email": "igorsoarez@gmail.com"
  },
  "name": "express-ejs-layouts",
  "description": "Layout support for ejs in express.",
  "keywords": [
    "express",
    "layout",
    "ejs"
  ],
  "version": "0.3.1",
  "main": "lib/express-layouts.js",
  "dependencies": {},
  "devDependencies": {
    "express": "3.0.X",
    "supertest": "*",
    "ejs": "*",
    "mocha": "*",
    "should": "*"
  },
  "optionalDependencies": {},
  "engines": {
    "node": "*"
  },
  "scripts": {
    "test": "make test"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/Soarez/express-ejs-layouts.git"
  },
  "readme": "\n\n# express-ejs-layouts\n\n#### *Layout support for ejs in express.*\n\n[![build status](https://secure.travis-ci.org/Soarez/express-ejs-layouts.png)](http://travis-ci.org/Soarez/express-ejs-layouts)\n\n## Installation\n    npm install express-ejs-layouts\n\n## Usage\n    var express = require('express')\n      , app = express()\n      , expressLayouts = require('express-ejs-layouts')\n    \n    app.set('view engine', 'ejs')\n    app.set('layout', 'myLayout') // defaults to 'layout'     \n\n    app.use(expressLayouts)\n    app.use(app.router)\n    \n    app.get('/', function(req, res){\n      res.render('aView', { layout: 'someSpecificLayout' })\n    })\n\n    app.listen(3000)\n\n### contentFor\n\nA view\n\n    somebody\n    <%- contentFor('foo') %>\n    club\n    <%- contentFor('bar') %>\n    fight\n\nWith a layout\n\n    <%-bar%> <%-foo%>\n    <%-body%>\n\nRenders\n\n    fight club\n    somebody\n\n### script blocks extraction\nIf you like to place all the script blocks at the end, you can do it like this:\n\n    app.set(\"layout extractScripts\", true)\n\nA view\n\n    something<script>somejs<script>something\n\nWith a layout\n\n    ...\n    <body>\n    <%- body %>\n    <%- script %>\n    </body>\n\nRenders\n\n    ...\n    <body>\n    somethingsomething\n    <script>somejs<script>\n    </body>\n\nEnabling invididually:\n\n    req.render('view', { parseScript: true })\n\n## Running tests\nClone the rep\n\n    make test\n\n## License\n\nMIT",
  "readmeFilename": "Readme.md",
  "bugs": {
    "url": "https://github.com/Soarez/express-ejs-layouts/issues"
  },
  "homepage": "https://github.com/Soarez/express-ejs-layouts",
  "_id": "express-ejs-layouts@0.3.1",
  "dist": {
    "shasum": "2a22cdcc16b65ccc2d39962287884f1de753677a"
  },
  "_from": "express-ejs-layouts@",
  "_resolved": "https://registry.npmjs.org/express-ejs-layouts/-/express-ejs-layouts-0.3.1.tgz"
}
