New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hapi-dust

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-dust

dust.js templating for hapi

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hapi-dust

dust.js + hapi

Installation

npm install hapi-dust --save

Dependencies

hapi-dust will try to load the dustjs engine using node's require(). Which means you'll also need to install dust or dustjs-linkedin:

npm install dustjs-linkedin --save
# or
npm install dust --save

If you're using dustjs-linkedin, hapi-dust will also try to load dustjs-helpers, which you'll also need to install if you want helpers support.

npm install dustjs-helpers --save

Usage

Load hapi-dust in your hapi server views configuration:

server.views({
  engines: { dust: require('hapi-dust') },
  relativeTo: Path.join(__dirname),
  path: 'path/to/templates',
  partialsPath: 'path/to/partials',
  helpersPath: 'path/to/helpers',
})

Keywords

FAQs

Package last updated on 26 Jun 2015

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc