add formatters so that (for example) all html (or any type) files can be processed as twig templates
add formatters so that (for example) all html (or any type) files can be processed as twig templates

eg:
		var Server = require('tinywebjs');
		(new Server(options)).addFormatter('html',function(data){
			var template = twig({
				data: data.toString()
			});

			return template.render(someVariables);

		})

nickolanack/tinywebjs,nickolanack/tinywebjs