Source: lowkieProxyHandler.js

'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;