transforms.js 224 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 module.exports = { "mode": function (obj) { if (obj.get("server")) { return "Server"; } if (obj.get("proxy")) { return "Proxy"; } return "Snippet"; } };