<commit_before>/*
Maps urls to files, useful if you want to quickly and safely
share only a few files...

usage:

require("./alias.js")(app,{
  "/favicon.ico":"/path/to/favicon.ico"
  ,"/robots.txt":"/path/to/robots.txt"
  ,"nodeinfo.json":"/path/to/nodeinfo.json"
  ,"feed.xml":"/path/to/rss.xml" // an alias
  ,"rss.xml":"/path/to/rss.xml"
});

*/

module.exports=function(a,o){
  Object.keys(o).map(function(k){
    app.get(f,function(req,res,next){
      res.sendFile(o[k]);
    });
  });
};<commit_msg>bad name<commit_after>/*
Maps urls to files, useful if you want to quickly and safely
share only a few files...

usage:

require("./alias.js")(app,{
  "/favicon.ico":"/path/to/favicon.ico"
  ,"/robots.txt":"/path/to/robots.txt"
  ,"nodeinfo.json":"/path/to/nodeinfo.json"
  ,"feed.xml":"/path/to/rss.xml" // an alias
  ,"rss.xml":"/path/to/rss.xml"
});

*/

module.exports=function(a,o){
  Object.keys(o).map(function(k){
    a.get(f,function(req,res,next){
      res.sendFile(o[k]);
    });
  });
};
{'fraction_non_alphanumeric': 0.23634558093346575, 'fraction_numerical': 0.0, 'mean_word_length': 3.5405405405405403, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '609353', 'n_tokens_mistral': 416, 'n_tokens_neox': 409, 'n_words': 63}