How to use the dust function from consolidate
Find comprehensive JavaScript consolidate.dust code examples handpicked from public code repositorys.
GitHub: toyblocks/toyblocks
4 5 6 7 8 9 10 11 12 13
var express = require('express'); var http = require('http'); //var https = require('https'); var path = require('path'); var cons = require('consolidate'); var dust = cons.dust; var mongodb = require('mongodb'); var jobs = require('./jobs'); var logger = require('morgan'); var methodOverride = require('method-override');
1
3
2
+ 14 other calls in file
GitHub: seejayer/captiz
76 77 78 79 80 81 82 83 84 85 86
app = module.exports = express(); var cons = require('consolidate'); app.engine('dust', cons.dust); if (process.env.ENV == 'DEV') { cons.dust.debugLevel = 'DEBUG'; } app.set('view engine', 'dust'); require('./custom_helpers.js');
0
0
2
consolidate.render is the most popular function in consolidate (164 examples)