{"_id":"express-dust","_rev":"17-99c2c53e61f485d7d3c2e5b914887c26","name":"express-dust","description":"ExpressJS DustJS View Renderer","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"express-dust","version":"0.1.0","description":"ExpressJS DustJS View Renderer","author":{"name":"Dav Glass","email":"davglass@gmail.com"},"contributors":[{"name":"Ryan Grove","email":"ryan@wonko.com"}],"bugs":{"url":"http://github.com/davglass/express-dust/issues"},"os":["darwin","linux"],"engines":{"node":">=0.4.0"},"main":"./lib/dust","dependencies":{"express":">=1.0.7"},"licenses":[{"type":"BSD","url":"http://github.com/davglass/express-dust/blob/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/davglass/express-dust.git"},"_id":"express-dust@0.1.0","_engineSupported":true,"_npmVersion":"0.3.15","_nodeVersion":"v0.4.2","directories":{"lib":"./lib"},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"3952dd16fb4a0a00712e91e59b879ce78079ff46","tarball":"https://registry.npmjs.org/express-dust/-/express-dust-0.1.0.tgz","integrity":"sha512-e6/Eiq/ZNjNo4RZiX3XjJd2rHwzLQlCs/Dg0FTa2u4zej8yt+khwgyMN6oc1GOBbP0Qrgo8BuHV3YrFVTeOXXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT1dRlzo7zxWDyQmyS1MwO1D+QQAOY8fyJmtAVCOCmugIgJDLUqhmyAVpd9EkICE6Q2XdgpSQi/o7Y0BsQ7bR/Z08="}]}},"0.1.1":{"name":"express-dust","version":"0.1.1","description":"ExpressJS DustJS View Renderer","author":{"name":"Dav Glass","email":"davglass@gmail.com"},"contributors":[{"name":"Ryan Grove","email":"ryan@wonko.com"},{"name":"Scott Sanders","url":"http://stonecobra.com"}],"bugs":{"url":"http://github.com/davglass/express-dust/issues"},"os":["darwin","linux"],"engines":{"node":">=0.4.0"},"main":"./lib/dust","dependencies":{"express":">=1.0.7"},"licenses":[{"type":"BSD","url":"http://github.com/davglass/express-dust/blob/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/davglass/express-dust.git"},"_id":"express-dust@0.1.1","_engineSupported":true,"_npmVersion":"0.3.15","_nodeVersion":"v0.4.2","directories":{"lib":"./lib"},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"385cd1644fa945e0bc13b7acbd5db0a4970a109e","tarball":"https://registry.npmjs.org/express-dust/-/express-dust-0.1.1.tgz","integrity":"sha512-Jq15bay+v2GGPZn9G3io8CnHZnGCtv+yW7XEMhFGjVM7w2uUqE58CyIZ7h6BxdVDiCYjxJ1OAOFcaurnC4tl2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHowVPXwItuG3R2nN1B98qlQGPXWTSHiH5EI34Xiaa51AiADVFQER4h9yEdeXsyhgrJg1cNcmualuH2I14PNXQ9JBw=="}]}},"0.1.2":{"name":"express-dust","version":"0.1.2","description":"ExpressJS DustJS View Renderer","author":{"name":"Dav Glass","email":"davglass@gmail.com"},"contributors":[{"name":"Ryan Grove","email":"ryan@wonko.com"},{"name":"Scott Sanders","url":"http://stonecobra.com"},{"name":"Federico Fissore","email":"federico@fsfe.org"}],"bugs":{"url":"http://github.com/davglass/express-dust/issues"},"os":["darwin","linux"],"engines":{"node":">=0.4.0"},"main":"./lib/dust","dependencies":{"express":">=1.0.7"},"licenses":[{"type":"BSD","url":"http://github.com/davglass/express-dust/blob/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/davglass/express-dust.git"},"_npmUser":{"name":"davglass","email":"davglass@gmail.com"},"_id":"express-dust@0.1.2","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"60c0e1fd32291fe601a1318d01200a458bac5e8f","tarball":"https://registry.npmjs.org/express-dust/-/express-dust-0.1.2.tgz","integrity":"sha512-YSCVjanR6SBlmsjHrnC3rpwE3JO0eEnSxxW5JZCw7L8NdxZYCZDnxKrW/hZqXEEQpn0YINpcMzEcOIkL2dLijg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM5L2dkAV8LIvLM4mL6aqu3hDh/Dbv+VyX88GQGAB5oQIhAMyWPtuPkzWb4lgmYsssGN8KVh401l5IJ7D5T54BhRIF"}]},"readme":"# Dust Template Engine for ExpressJS\n\nThis express module allows you to use [Dust](http://akdubya.github.com/dustjs/) as your template engine.\n\n## Install\n\n    npm install express-dust\n\n## Async Rendering\n\nExpress does not support async rendering, so with this module installed you will only be able\nto use Dust as your renderer in your app. We have to override the render/partial methods on the \nprototype of the ServerResponse object in order to support the async nature of Dust.\n\nIf the callback is ommitted to render/partial the response will automatically be passed to res.send\nwhen the Dust operation is completed.\n\n## Usage\n\nThere is a simple example included in this repo under `./examples`.\n\n\n### server.js\n\n    var app = require('express').createServer();\n    var dust = require('../lib/dust');\n    \n    //Sets up Global Variables to be used in all views\n    dust.makeBase({\n        copy: '&copy; 2011 Nobody LLC'\n    });\n\n    app.get('/', function(req, res, next) {\n        res.render('index', {\n            //Local Variables for this view\n            title: 'This is a test'\n        });\n    });\n\n    app.listen(8000);\n\n\n### views/layouts/main.dust\n\n    <!DOCTYPE html>\n    <html>\n    <head>\n        <meta charset=\"utf-8\">\n        <title>{+title}My Site{/title}</title>\n    </head>\n    <body>\n    {>\"partials/nav\"/}\n\n    {+html_body}\n    {/html_body}\n    <div id=\"footer\">{+copy}Copyright{/copy}</footer>\n    </body>\n    </html>\n\n### views/index.dust\n\n    {>\"layouts/main\"/}\n\n    {<title}Foo {title}{/title}\n\n\n    {<html_body}\n        <p>This is my index.dust main body {title}</p>\n    {/html_body}\n\n    {<copy}{copy|s}{/copy}\n\n","maintainers":[{"name":"davglass","email":"davglass@gmail.com"}]},"0.1.3":{"name":"express-dust","version":"0.1.3","description":"ExpressJS DustJS View Renderer","author":{"name":"Dav Glass","email":"davglass@gmail.com"},"contributors":[{"name":"Ryan Grove","email":"ryan@wonko.com"},{"name":"Scott Sanders","url":"http://stonecobra.com"},{"name":"Federico Fissore","email":"federico@fsfe.org"},{"name":"Nick Swider","url":"http://nickswider.com"}],"bugs":{"url":"http://github.com/davglass/express-dust/issues"},"os":["darwin","linux"],"engines":{"node":">=0.4.0"},"main":"./lib/dust","dependencies":{"express":">=1.0.7","dustjs-linkedin":"0.4.0"},"licenses":[{"type":"BSD","url":"http://github.com/davglass/express-dust/blob/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/davglass/express-dust.git"},"_npmUser":{"name":"davglass","email":"davglass@gmail.com"},"_id":"express-dust@0.1.3","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"05bc94ef674dcb0aa385654ba48fbc8544709064","tarball":"https://registry.npmjs.org/express-dust/-/express-dust-0.1.3.tgz","integrity":"sha512-5C36o55cZx28DdFTvxsE1JrYLQmnHKwINCN8XX0HDSZ3dFBs3LVRk/836ZF1QzRFSD67ewbVeiNt1nkjcBmDrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4GKLB+h4KIP2vd8+U0h2ZMLNAPEhs9ofgYhYyOpDKEwIgJ7pb9QqzS1PUzXcPMi53iGgDTRSRb0caaL8vLm8fXGk="}]},"readme":"# Dust Template Engine for ExpressJS\n\nThis express module allows you to use [Dust](http://akdubya.github.com/dustjs/) as your template engine.\n\n## Install\n\n    npm install express-dust\n\n## Async Rendering\n\nExpress does not support async rendering, so with this module installed you will only be able\nto use Dust as your renderer in your app. We have to override the render/partial methods on the \nprototype of the ServerResponse object in order to support the async nature of Dust.\n\nIf the callback is ommitted to render/partial the response will automatically be passed to res.send\nwhen the Dust operation is completed.\n\n## Usage\n\nThere is a simple example included in this repo under `./examples`.\n\n\n### server.js\n\n    var app = require('express').createServer();\n    var dust = require('../lib/dust');\n    \n    //Sets up Global Variables to be used in all views\n    dust.makeBase({\n        copy: '&copy; 2011 Nobody LLC'\n    });\n\n    app.get('/', function(req, res, next) {\n        res.render('index', {\n            //Local Variables for this view\n            title: 'This is a test'\n        });\n    });\n\n    app.listen(8000);\n\n\n### views/layouts/main.dust\n\n    <!DOCTYPE html>\n    <html>\n    <head>\n        <meta charset=\"utf-8\">\n        <title>{+title}My Site{/title}</title>\n    </head>\n    <body>\n    {>\"partials/nav\"/}\n\n    {+html_body}\n    {/html_body}\n    <div id=\"footer\">{+copy}Copyright{/copy}</footer>\n    </body>\n    </html>\n\n### views/index.dust\n\n    {>\"layouts/main\"/}\n\n    {<title}Foo {title}{/title}\n\n\n    {<html_body}\n        <p>This is my index.dust main body {title}</p>\n    {/html_body}\n\n    {<copy}{copy|s}{/copy}\n\n","maintainers":[{"name":"davglass","email":"davglass@gmail.com"}]},"0.1.4":{"name":"express-dust","version":"0.1.4","description":"ExpressJS DustJS View Renderer","author":{"name":"Dav Glass","email":"davglass@gmail.com"},"contributors":[{"name":"Ryan Grove","email":"ryan@wonko.com"},{"name":"Scott Sanders","url":"http://stonecobra.com"},{"name":"Federico Fissore","email":"federico@fsfe.org"},{"name":"Nick Swider","email":"nick@fleet54.com","url":"http://nickswider.com"}],"bugs":{"url":"http://github.com/swider/express-dust/issues"},"os":["darwin","linux"],"engines":{"node":">=0.4.0"},"main":"./lib/dust","dependencies":{"express":">=1.0.7","dustjs-linkedin":"0.4.0"},"licenses":[{"type":"BSD","url":"http://github.com/swider/express-dust/blob/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/swider/express-dust.git"},"_npmUser":{"name":"swider","email":"nick@fleet54.com"},"_id":"express-dust@0.1.4","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"61687ad0218121da5a55bffd0ec8cefcc8729704","tarball":"https://registry.npmjs.org/express-dust/-/express-dust-0.1.4.tgz","integrity":"sha512-9pAFpWIfNMmtFYAhrQfV3KoieTFBxBP5eJVAAXMWfnNXgsT/Ospb+MBjpvXj0JbGyQ7cTniP499aY13dc5B2xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfCQUJc1uURRbmFJpyOjvMKwAVox8FaUzNNAnhkbJe6AiEAx7l1uqg+/9sKIbgwmfFQCsIfh9rzO5ottqZcxEfBTdc="}]},"readme":"# Dust Template Engine for ExpressJS\n\nThis express module allows you to use [Dust](http://akdubya.github.com/dustjs/) as your template engine.\n\n## Install\n\n    npm install express-dust\n\n## Async Rendering\n\nExpress does not support async rendering, so with this module installed you will only be able\nto use Dust as your renderer in your app. We have to override the render/partial methods on the \nprototype of the ServerResponse object in order to support the async nature of Dust.\n\nIf the callback is ommitted to render/partial the response will automatically be passed to res.send\nwhen the Dust operation is completed.\n\n## Usage\n\nThere is a simple example included in this repo under `./examples`.\n\n\n### server.js\n\n    var app = require('express').createServer();\n    var dust = require('../lib/dust');\n    \n    //Sets up Global Variables to be used in all views\n    dust.makeBase({\n        copy: '&copy; 2011 Nobody LLC'\n    });\n\n    app.get('/', function(req, res, next) {\n        res.render('index', {\n            //Local Variables for this view\n            title: 'This is a test'\n        });\n    });\n\n    app.listen(8000);\n\n\n### views/layouts/main.dust\n\n    <!DOCTYPE html>\n    <html>\n    <head>\n        <meta charset=\"utf-8\">\n        <title>{+title}My Site{/title}</title>\n    </head>\n    <body>\n    {>\"partials/nav\"/}\n\n    {+html_body}\n    {/html_body}\n    <div id=\"footer\">{+copy}Copyright{/copy}</footer>\n    </body>\n    </html>\n\n### views/index.dust\n\n    {>\"layouts/main\"/}\n\n    {<title}Foo {title}{/title}\n\n\n    {<html_body}\n        <p>This is my index.dust main body {title}</p>\n    {/html_body}\n\n    {<copy}{copy|s}{/copy}\n\n","maintainers":[{"name":"davglass","email":"davglass@gmail.com"},{"name":"swider","email":"nick@fleet54.com"}]},"0.1.5":{"name":"express-dust","version":"0.1.5","description":"ExpressJS DustJS View Renderer","author":{"name":"Dav Glass","email":"davglass@gmail.com"},"contributors":[{"name":"Ryan Grove","email":"ryan@wonko.com"},{"name":"Scott Sanders","url":"http://stonecobra.com"},{"name":"Federico Fissore","email":"federico@fsfe.org"},{"name":"Nick Swider","email":"nick@fleet54.com","url":"http://nickswider.com"}],"bugs":{"url":"http://github.com/swider/express-dust/issues"},"os":["darwin","linux","win32"],"engines":{"node":">=0.4.0"},"main":"./lib/dust","dependencies":{"express":">=1.0.7","dustjs-linkedin":"0.4.0"},"licenses":[{"type":"BSD","url":"http://github.com/swider/express-dust/blob/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/swider/express-dust.git"},"_npmUser":{"name":"swider","email":"nick@fleet54.com"},"_id":"express-dust@0.1.5","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"857fb728ad97f27ef5fcd47eb4e1500d447ea175","tarball":"https://registry.npmjs.org/express-dust/-/express-dust-0.1.5.tgz","integrity":"sha512-Vd130uZ1Dua5ddiGaKAnAVGzDm4tEvryx/TI27L50RQxvu+vx3YtKbQoLMNm/Fwj1BBqbCGA4eEqLIWi0jtGVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3YWax888x4MKTH8VJToX9bAG6j2nuzCRdkuVTG0dn/AiBt8IJ6i/CZgIptyFjoDL+aBVtxHoYvNq3RQod/niVlIw=="}]},"readme":"# Dust Template Engine for ExpressJS\n\nThis express module allows you to use [Dust](http://akdubya.github.com/dustjs/) as your template engine.\n\n## Install\n\n    npm install express-dust\n\n## Async Rendering\n\nExpress does not support async rendering, so with this module installed you will only be able\nto use Dust as your renderer in your app. We have to override the render/partial methods on the \nprototype of the ServerResponse object in order to support the async nature of Dust.\n\nIf the callback is ommitted to render/partial the response will automatically be passed to res.send\nwhen the Dust operation is completed.\n\n## Usage\n\nThere is a simple example included in this repo under `./examples`.\n\n\n### server.js\n\n    var app = require('express').createServer();\n    var dust = require('../lib/dust');\n    \n    //Sets up Global Variables to be used in all views\n    dust.makeBase({\n        copy: '&copy; 2011 Nobody LLC'\n    });\n\n    app.get('/', function(req, res, next) {\n        res.render('index', {\n            //Local Variables for this view\n            title: 'This is a test'\n        });\n    });\n\n    app.listen(8000);\n\n\n### views/layouts/main.dust\n\n    <!DOCTYPE html>\n    <html>\n    <head>\n        <meta charset=\"utf-8\">\n        <title>{+title}My Site{/title}</title>\n    </head>\n    <body>\n    {>\"partials/nav\"/}\n\n    {+html_body}\n    {/html_body}\n    <div id=\"footer\">{+copy}Copyright{/copy}</footer>\n    </body>\n    </html>\n\n### views/index.dust\n\n    {>\"layouts/main\"/}\n\n    {<title}Foo {title}{/title}\n\n\n    {<html_body}\n        <p>This is my index.dust main body {title}</p>\n    {/html_body}\n\n    {<copy}{copy|s}{/copy}\n\n","maintainers":[{"name":"davglass","email":"davglass@gmail.com"},{"name":"swider","email":"nick@fleet54.com"}]}},"maintainers":[{"name":"swider","email":"nick@fleet54.com"}],"time":{"modified":"2022-06-17T22:15:46.985Z","created":"2011-03-12T20:54:32.625Z","0.1.0":"2011-03-12T20:54:32.933Z","0.1.1":"2011-03-14T13:57:34.816Z","0.1.2":"2012-04-12T22:28:44.373Z","0.1.3":"2012-05-29T14:03:11.319Z","0.1.4":"2012-05-30T15:59:21.124Z","0.1.5":"2012-11-30T03:43:42.117Z"},"author":{"name":"Dav Glass","email":"davglass@gmail.com"},"repository":{"type":"git","url":"git://github.com/swider/express-dust.git"}}