UNPKG

295 BJavaScriptView Raw
1var fs = require('fs');
2var getIntersection = require('./get-intersection');
3
4var parsers = {
5 mirror : function(template, inputObj) {
6 return getIntersection(template, inputObj);
7 }
8}
9
10
11module.exports = function(parserName){
12 return parsers[parserName] || function(){return {}};
13};
\No newline at end of file