<reponame>Joe606/weibo_post<filename>myapp/node_modules/pug/examples/text.js<gh_stars>0
/**
 * Module dependencies.
 */

var pug = require('../')
  , path = __dirname + '/text.pug'
  , str = require('fs').readFileSync(path, 'utf8')
  , fn = pug.compile(str, { filename: path, pretty: true });

console.log(fn({ name: 'tj', email: 'anpch@example.com' }));