dust-partials-middleware

1.0.1 • Public • Published

dust-partials-middlware

dust-partials-middlware is a simple middleware package that allows you to compile and memoize dustjs partials provided to the client, as opposed to commandline compiling them. Assuming the memoization library is competent (currently, I'm using memoizee for this), the performance difference should be negligible.

Version

1.0

Tech

dust-partials-middleware uses a few open source projects:

Installation

//Eventually, when published!
npm install dust-partials-middleware

Using

var dust_partials = require('dust-partials-middleware');
app.use('/partials',dust_partials(__dirname,'/views'));

License

MIT

Free Software, Fuck Yeah!

/dust-partials-middleware/

    Package Sidebar

    Install

    npm i dust-partials-middleware

    Weekly Downloads

    2

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • abraxas