think I might've caught functional programmer brain, uh oh
why would you pass your config everywhere as arguments when you can define a wrapper function for your module that brings it into scope once
like this https://git.pixie.town/f0x/pixie-pages/src/branch/main/src/lookup/index.js#L7 and then it returns the actual function you'll call
@f0x Parametric moduuuuuules (are great)
Small server part of the pixie.town infrastructure. Registration is closed.
like this https://git.pixie.town/f0x/pixie-pages/src/branch/main/src/lookup/index.js#L7 and then it returns the actual function you'll call