Socket
Socket
Sign inDemoInstall

express-nuts

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    express-nuts

Nuts template engine adapter for Express.js


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 09 Dec 2014

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc