{"size": 307, "ext": "js", "max_stars_repo_path": "packages/pug/examples/dynamicscript.js", "max_stars_repo_name": "brewingcode/pug", "max_stars_repo_stars_event_min_datetime": "2016-03-15T17:42:32.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T20:28:01.000Z", "max_issues_repo_path": "packages/pug/examples/dynamicscript.js", "max_issues_repo_name": "brewingcode/pug", "max_issues_repo_issues_event_min_datetime": "2016-03-15T13:31:49.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-18T21:01:53.000Z", "max_forks_repo_path": "packages/pug/examples/dynamicscript.js", "max_forks_repo_name": "brewingcode/pug", "max_forks_repo_forks_event_min_datetime": "2016-03-16T08:25:59.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-30T08:34:47.000Z"}
{"max_stars_count": 12711, "max_issues_count": 1176, "max_forks_count": 1150, "avg_line_length": 19.1875, "max_line_length": 64, "alphanum_fraction": 0.5863192182}
/**
 * Module dependencies.
 */

var pug = require('../');

var locals = {
  users: {
    tj: {age: 23, email: 'tj@vision-media.ca', isA: 'human'},
    tobi: {age: 1, email: 'tobi@is-amazing.com', isA: 'ferret'},
  },
};

var fn = pug.compileFile(__dirname + '/dynamicscript.pug');
console.log(fn(locals));
