{"size": 554, "ext": "js", "max_stars_repo_path": "todo-list/node_modules/connect-cachify/example/run.js", "max_stars_repo_name": "hubbertj/react-redux-presentation", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "todo-list/node_modules/connect-cachify/example/run.js", "max_issues_repo_name": "hubbertj/react-redux-presentation", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "todo-list/node_modules/connect-cachify/example/run.js", "max_forks_repo_name": "hubbertj/react-redux-presentation", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.7878787879, "max_line_length": 43, "alphanum_fraction": 0.5613718412}
#!/usr/bin/env node

var express = require('express'),
    cachify = require('../');

var app = express.createServer();

app.use(cachify.setup({
  '/prod/min.css': [
    "/css/a.css",
    "/css/b.css",
    "/css/c.css"
  ], 
  '/prod/min.js': [
    "/js/a.js",
    "/js/b.js",
    "/js/c.js"
  ]
}, {
  root: __dirname,
  production: !process.env['DEV']
}));

app.set('views', __dirname);
app.set('view options', { layout: false });
app.get('/', function(req, res){
  res.render('index.ejs');
});

app.use(express.static(__dirname)); 

app.listen(3000);
