Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
dust.js + hapi
npm install hapi-dust --save
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
Load hapi-dust
in your hapi server views configuration:
var server = new Hapi.Server(1337, {
views: {
engines: { html: require('hapi-dust') },
path: __dirname + '/path/to/templates'
}
})
FAQs
dust.js templating for hapi
The npm package hapi-dust receives a total of 0 weekly downloads. As such, hapi-dust popularity was classified as not popular.
We found that hapi-dust demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.