UNPKG

lowkie

Version:

My Custom lowkie / Express Applcation

22 lines (17 loc) 389 B
'use strict'; /** * @function handler * @description this is the proxy handler for lowkie, provides access to native loki methods as well. * * @returns {object} */ function proxyHandler() { //bound this; return { get: function (target, name) { // console.log({ name }); return target[ name ]; }, }; } module.exports = proxyHandler;