var sqlite3 = require('sqlite3')

module.exports = Proxy.create(new((function(){ 

    var prototype = {}

    prototype.constructor = function(target)
    {
        this.target = target
    }

    prototype.get = function(receiver, name)
    {
        console.log("GET " + name)
        return this.target[name]; 
    }

    return prototype.constructor.prototype = prototype

})().constructor)(sqlite3))

P.S. Присылайте криптовалюту если вам нравится то, что я делаю.
Если не нравится - тоже присылайте.
LTC (Litecoin): LLN6X2uV1iuQ1e4tdmQZsf2RRwh4pxPSej

Leave a Reply

*