Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

oniyi-express-mustache-renderer

0.0.1 • Public • Published

An express middleware that provides a renderer for mustache templates Use this to provide different renderers per router (also allows you to structure your templates as sub-folders per router in Express)

Getting Started

Install the module with: npm install oniyi-express-mustache-renderer

var express = require('express'),
    router = express.Router(),
    renderer = require('oniyi-express-mustache-renderer');
 
router.use(renderer(__dirname));

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

License

Copyright (c) 2014 Benjamin Kroeger Licensed under the MIT license.

install

npm i oniyi-express-mustache-renderer

Downloadsweekly downloads

4

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability