You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

express-nuts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

express-nuts

Nuts template engine adapter for Express.js

0.2.0
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

express-nuts

Nuts template engine adapter for Express.js.

This module will add templates from Express views folder with filename as template keyname, but templates from ./templates folder will be added with its regular keynames

Installation

npm install express-nuts --save

Usage

// get your dependencies
var express = require('express');
var app = express();
var nuts = require('nuts');
var expressNuts = require('express-nuts');

// specify the views directory
app.set('views', './views');

// (optional) specify the regular templates directory
app.set( 'templates folder', './myFolder' );

// set nuts as template engine
expressNuts( app, nuts );



© 2014 Jacobo Tabernero - jacoborus

Released under MIT License

Keywords

nuts

FAQs

Package last updated on 09 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts