numo-labs / aws-lambda-helper

:lollipop: Collection of helper methods for lambda
GNU General Public License v3.0
22 stars 2 forks source link

global initialisation #20

Closed jruts closed 8 years ago

jruts commented 8 years ago

This is a proposed solution for https://github.com/numo-labs/aws-lambda-helper/issues/19 .

nelsonic commented 8 years ago

On the surface this is a minor change. However it will halve the amount of duplication in our project because we will only need to .init once in the whole project as node's require.cache will give us the cached version on all subsequent require

nelsonic commented 8 years ago

@plaenen you have access to publish the package to NPM: aws-helper-npm-access So if you are happy to merge the PR, you can also publish the latest version. :+1: