{"_id":"@alpha-lambda/handler","_rev":"6-d82198e8917eb4592f70889cc59a25b0","name":"@alpha-lambda/handler","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@alpha-lambda/handler","version":"1.0.0","description":"Middleware pipeline for AWS Lambda handlers","repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"main":"lib/handler.js","scripts":{"lint":"eslint .","test":"nyc --all mocha","posttest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"license":"MIT","devDependencies":{"chai":"^4.1.1","coveralls":"^3.0.4","env-test":"^1.0.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-mocha":"^5.3.0","mocha":"^6.1.4","nyc":"^14.1.1","publish":"^0.6.0","sinon":"^7.3.2"},"dependencies":{},"gitHead":"fe6dc49566a00c7fc25e2529b450d6a617003fba","bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"homepage":"https://github.com/alpha-lambda/handler-node#readme","_id":"@alpha-lambda/handler@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},"dist":{"integrity":"sha512-Gl8v4nGL3ykyFvQdk5RwGTcOREtSFuoAtwCJkxJi4GtIjS7cjvvlYg9KQUZU0oGSgeaoVB5vo0WVsZBUCZZpPg==","shasum":"c136b5dab2e99a970e040afaaf82b3600a64ac71","tarball":"https://registry.npmjs.org/@alpha-lambda/handler/-/handler-1.0.0.tgz","fileCount":4,"unpackedSize":7481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDOubCRA9TVsSAnZWagAAqYUP/3gV2H/R9zXDmc7FoDlL\n92fI6Jfy1zLdXDgw9LRflfwuufNXGQiOEXrynq8k0T3zveemC/KIjIYPeDtm\n9tENaHQcNHUZghJuP19vqrhMFdQtV8jqP4YNM6L0U46GdSEBSGXBocsrM8+F\nEu/SDyoA+RYje9b0SEgs6ChztZSFfwXA0D4lys2HaJWyS/xzWXLts2HL0Unt\nzGZL4s7rKvlsNZm15mZmbNaRuiAhjXvrwXG1Clnam4m3V6ZiJs93XS4DIEyF\nUAty708y5160leQ2Q2GRWk+Kqxm5lgECst0XcSGzbWi73NOqlw0lkC6QJDy5\nGYckrf9Se7BQ1Ft/B9cVaFnIgzpxukLqorHljpJXyUSscpOPAmfSlAc6VN3X\np3X6fo5ex5u8n10X1s0k/Qt0y1yRfbAfdiki52+0bIRBLY6+DilAKZcKlNJA\n1OEe0YIDgTdCEH0KiLSU7sqGMVFKPK4rzLvIzNw7wcxzJQ+tm/WLa/8XWNyP\nitqeDPzCKLGQ3FvjQ1/Xj4rcu1cOsIsfCadcyAGB7uA187bWsrm/fUUzh24i\ncQCLHR6ToXM6DcdjbPBqWymkIVUmuz0C7qJ5YZClgf70mRXWpG17L/B99twC\nszhxvuuVbxYfrPVJyt1YauO2mIRXABogOgpNafavGTQCTZnlEolxHCVt723y\nC+Kq\r\n=xmHQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUGuCW9DyHNDpZdonvsOUSZr1Vefh0evik2mG257CoiwIhAMqqxc+46cthzR5fhn5LiUTTE49k46VuA9f2a6TNyx7o"}]},"maintainers":[{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handler_1.0.0_1561127834508_0.05210301870220824"},"_hasShrinkwrap":false},"1.1.0":{"name":"@alpha-lambda/handler","version":"1.1.0","description":"Middleware pipeline for AWS Lambda handlers","repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"main":"lib/handler.js","scripts":{"lint":"eslint .","test":"nyc --all mocha","posttest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"license":"MIT","devDependencies":{"chai":"^4.1.1","coveralls":"^3.0.4","env-test":"^1.0.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-mocha":"^5.3.0","mocha":"^6.1.4","nyc":"^14.1.1","publish":"^0.6.0","sinon":"^7.3.2"},"dependencies":{},"gitHead":"e6f2ade926c6fc6b05ecf22d1ee0c892554999bf","bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"homepage":"https://github.com/alpha-lambda/handler-node#readme","_id":"@alpha-lambda/handler@1.1.0","_shasum":"ffad617e299bf7cb648eb3e2d326d79974684e15","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.10.0","_npmUser":{"name":"antonbazhal","email":"am.bazhal@gmail.com"},"dist":{"shasum":"ffad617e299bf7cb648eb3e2d326d79974684e15","tarball":"https://registry.npmjs.org/@alpha-lambda/handler/-/handler-1.1.0.tgz","integrity":"sha512-qv2vSJGFeXtMvk04/5G09Tr9yvqUwIogDQyYy9wFJBBHcYZKReBvn8z0zywuRRYTgxDfT5wn6NEZmwEvI9ekiw==","fileCount":6,"unpackedSize":193234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDUdpCRA9TVsSAnZWagAAUV8P/0iq9g3bo6K0uRkm/UtU\nz5IuieNa2pk/2bZX1i3F1s6onwbcQPKiuG4jHUWQHk51BOFbet0XusojI7DM\nx7rTahUiv/qIhfO+FwbzfgoEKpnmsDzVuex6WMMoKVwMg29nAbx5gP6PjxdU\nwwn3cald38m8ox72cOZnGAl8s6WBmBDRsGpv0qEiI+a1SZs3vht1k2lVoehL\nss/9YjW9q+uyFTTHztqJ/BweetSnBnwGizbKBchLR87mq2P+EKz1Bz0s43bU\nZLtkGapHcWe5pJozcSI66SEnmbpUZHI8Zw/pTTHCQ3JR2bcqoJrKmZfuEiAY\n4YaKcVoZOkVyckxdjubrdrhVxFc4ii1uRYLwAVHjkKUp3kLdS6P1Q1k2NmfZ\nQRLqQ6rIjJSWIVSFy93h5tYiMxDRurI/6tkZW1QiWD7TC6CaWB1DJyWNNXhQ\naiOnufywEsR+M/747BmuN0J50D3ofLeLd1hX755VdGK4yP3nhdN0tXOaBt1m\n20OaQzi4MlRc6DAk6H+1eMIYfoHh7dn+0orLUJsWRKgpPdGRYBkzGABBzaEV\nrolABN7RHy/Q4IEC8Fxid9G1LmAAimjat1RmgfJ2SatwgqVtukhA5rgF7xaz\nEvB0qzOz3RcIIoUlsDXa4EzOOInbaH5tRYhUF0qXCQaXCZaUaZNqn8+pHMTi\nfKBM\r\n=/c9z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDj8nQR9b80cuEchRSu69Qg8hQHsQ9WsU6C1z3hgwUy6AiEAxFMO4xEXeSQBWah0kcV25+ysdRSlYq7MXmwRmLCLHXg="}]},"maintainers":[{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handler_1.1.0_1561151336549_0.05026963978803667"},"_hasShrinkwrap":false},"1.1.1":{"name":"@alpha-lambda/handler","version":"1.1.1","description":"Middleware pipeline for AWS Lambda handlers","repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"main":"lib/handler.js","scripts":{"lint":"eslint .","test":"nyc --all mocha","posttest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"license":"MIT","devDependencies":{"chai":"^4.1.1","coveralls":"^3.0.4","env-test":"^1.0.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-mocha":"^5.3.0","mocha":"^6.1.4","nyc":"^14.1.1","publish":"^0.6.0","sinon":"^7.3.2"},"dependencies":{},"gitHead":"2814b67012dee931ef097e4fc2b461c1e55f60cb","bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"homepage":"https://github.com/alpha-lambda/handler-node#readme","_id":"@alpha-lambda/handler@1.1.1","_shasum":"fe5b5d030b92b571580a3fa971c4e15979c95d34","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.10.0","_npmUser":{"name":"antonbazhal","email":"am.bazhal@gmail.com"},"dist":{"shasum":"fe5b5d030b92b571580a3fa971c4e15979c95d34","tarball":"https://registry.npmjs.org/@alpha-lambda/handler/-/handler-1.1.1.tgz","integrity":"sha512-4aZI67NdZX/ByF5YOv8GW4Oi8G1MAG/jdG7LKGUMTHudA/EKuLoHLNPmgaRmIg6SBpqTfxGd+RUnBN1zdF9WGQ==","fileCount":6,"unpackedSize":193222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEM1qCRA9TVsSAnZWagAAnXMP+wQJT1rPdfSvXPuHZcGC\ntwx0vi6aMb6Bb/13okHlroXfu0U9f3RmLPqAxJGPY/X4W+I0hU26ZbgueNP8\nJGtFswoaFK9hk2wbih1mO29bmpaoI1W3gSg8QrPbl/RRGFZQ8jmYdCwvsQTb\n0xy2S1+XBiJJwj53yL93ychRyvPgZWmtfE1FrEKWV7SaxaDHiRVUcR/SBPXY\nm2Dmzrh9bB88OBaiRzOKsfpWOnQNqZPIxo8PYitrv6Ah1QycLYOhHyAN1HuB\nIwc53xdUs5UgwnRzsJS4mrs9z1Fkz44X4UASAU3APRINrhXRD3l1bXoqOaFm\nKfXr80/whP4sj9Lp9KtXcAkkd5v3MV4Y50wChhFf+53/xUfOg5jIiCXVs0Zi\nTsr7FsybULq/x7cjAfT4HCJHFATB8Sw3a8dBErtMXkPgr3CHqLi4GKqheOi5\nuSNqyvp4hjfAEp5EgOWdEiQY8MNLkBaNh1jp7CzwsdM+A3uxYewri0mcnTLS\nH44BG/dxp8G4PUY1gfMdx+WZDj0fQh2z93yT24PsVGPTcJXF9pzwx58uw6I9\nbAgOg680EkmLJlCuJGQADZQFOaDmwIEhuZYGczYfrr3po2z6RdWZ0xG3PCwi\nZH/McGVaCzPVUbCP47V8rGPPRzk89H2vnjDhbx9qsBUdPuzCwmPxuO4HQSZf\nzV5x\r\n=LKju\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHR7mE4PGgw33/AB34doS9OIX04Wwmn/Cru3kNBh34XJAiEApVQ30bodDTLQdmteYnY4G60A6pCUYh9uehRNcaYrILw="}]},"maintainers":[{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handler_1.1.1_1561382249379_0.8669464501300497"},"_hasShrinkwrap":false},"1.2.0":{"name":"@alpha-lambda/handler","version":"1.2.0","description":"Middleware pipeline for AWS Lambda handlers","repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"main":"lib/handler.js","scripts":{"lint":"eslint .","test":"nyc --all mocha","posttest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"license":"MIT","devDependencies":{"chai":"^4.1.1","coveralls":"^3.0.4","env-test":"^1.0.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-mocha":"^5.3.0","mocha":"^6.1.4","nyc":"^14.1.1","publish":"^0.6.0","sinon":"^7.3.2"},"dependencies":{},"gitHead":"5b21c9c7cdab6c10d4994f8e3fa187d24d52fc81","bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"homepage":"https://github.com/alpha-lambda/handler-node#readme","_id":"@alpha-lambda/handler@1.2.0","_shasum":"710ca842cae361b91f7c8404604fdad0cf8aa412","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.10.0","_npmUser":{"name":"antonbazhal","email":"am.bazhal@gmail.com"},"dist":{"shasum":"710ca842cae361b91f7c8404604fdad0cf8aa412","tarball":"https://registry.npmjs.org/@alpha-lambda/handler/-/handler-1.2.0.tgz","integrity":"sha512-5jrM8hquBJaE4EoO0xtFt1C8ueRVHvCFYeFMHyBCUyF/NiHOTHxEWnffKdzv7dUD/jR2itR5V3aOJCzBWtEH6g==","fileCount":6,"unpackedSize":190082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQwvaCRA9TVsSAnZWagAADYwQAKTc8UWwSENFt4VnZGM8\nSMqXPTGv3XsHy0IvfC3ofk+WqXP2i5gIw3/TwhgShzDlYo3u5F4lB2e9jFBq\n75//kZrbL0qTSg3a5umAgB864zEe5Szx6XcuPQ3oDpJfJk05yjKvpquzWz9u\nqFP2tTVWzB0FgVVtjvVbfkS0gqoj8Gm708Sv1BoXYIHFbliaqD2/CaIlVXWv\ndkWdRL4GE2XPmRHQVXXY55NKT0RNyTJjYjdlOTx/WXLc7tpGv7DPJO2fQsGq\nASjdywlmSyf0dXhjgL7OJ02sM65qg5ZCFvENjQwo5e5DWyVrmYj4TFo2CXkg\nLCO526zVFWLUlLWwdM0uy10yv8j0wsmndIw0Db0pj6l4KeyWd8nNrlTk5aXo\nsOj3/oz+YIf76vUxXlcvNzlRtLff5kmEVoPG7CGrjsYzC/b+tdZPt5CF0PuA\nAlFs04jdKdC6J8x/OMG/Kv/KnG1z3i4Ye0ZwquwCRnCoow9ZCZaR6mxK6p/m\nH1H6vvCuUIIpmlgKZjIdGgEdIOCBWb3r3cn9Ra5XOMCsjf1RKZhfOh/4FYB6\nE8OaBBd9jtIN8C0HcXlQonJ9FEGb67QRMfpiwExBPeHi+T7WOzR7CtFzbVki\nUhiH3eE7fU5JBm4KSgx+uj1er0loccns9XNhvx5eFZZ4zG1/o6c2v8+NRPtT\nXc/w\r\n=8IJQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGlidQTLDCUdYiuBhHnf/e8c5SqhzEPaXL0y+v7sBy/BAiEAxHCCUkvGa9zkwljnK2RqToF2rdXyzwGh0VlTT+swMK4="}]},"maintainers":[{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handler_1.2.0_1564675033303_0.7311208413052013"},"_hasShrinkwrap":false},"1.2.1":{"name":"@alpha-lambda/handler","version":"1.2.1","description":"Middleware pipeline for AWS Lambda handlers","repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"main":"lib/handler.js","scripts":{"lint":"eslint .","test":"nyc --all mocha","posttest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"license":"MIT","devDependencies":{"chai":"^4.1.1","coveralls":"^3.0.4","env-test":"^1.0.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-mocha":"^5.3.0","mocha":"^6.1.4","nyc":"^14.1.1","publish":"^0.6.0","sinon":"^7.3.2"},"dependencies":{},"gitHead":"f79d171104768ab990be4b3a7c15f3c4e760bc24","bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"homepage":"https://github.com/alpha-lambda/handler-node#readme","_id":"@alpha-lambda/handler@1.2.1","_shasum":"25009cb5ed555478a2c25d4fe31b2ec4d434fa96","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.10.0","_npmUser":{"name":"antonbazhal","email":"am.bazhal@gmail.com"},"dist":{"shasum":"25009cb5ed555478a2c25d4fe31b2ec4d434fa96","tarball":"https://registry.npmjs.org/@alpha-lambda/handler/-/handler-1.2.1.tgz","integrity":"sha512-CfHWhjY/DCqIyDEr80CXq0iv3Pv9k6ag/axtBscPwhtoWzOGK1RHQwEGk9mlz+UBv58HUXHjIJKF+PWvkbMsZA==","fileCount":6,"unpackedSize":190120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQ0vpCRA9TVsSAnZWagAAfN4P/0OKhkC2ttJUncc7Zk/U\nb8N0gum/8TU9cNNdJbBCniIk+K19amyE+8JUVa8q0lUlb8NzqWz4YojqRCSA\nEgRzntJn9aqihODl1S2cT7gSj+2i8zuiSoo+txkqPgvtECqLqvcfGDNVLvyn\ny6zgPEolC2s1BSawjX4LEB1VVo3DLK0wPWNKpd+27H1TF6HZeKDOfxVSjAp3\nyDzlZmboaX1ZGxhiAZvtmQr0DVaKXjrulDr9WRrFEg+06UM7rpK+1Rp0oBID\nBdYIDaErX98mYnzSrjVouePWsFDaFhQfrp4QXk2ErNWz5znMVp66pyIOmRhH\nbzVtlefr3CHYJl1Bvu/ZGCxG7ajXmRKd9lgRp2FZOuyY5mp5e8r7Ei5I1eWB\n2l2g6qB+99Vu8veI09FzJ+hhiU/uPOB7ufTDaao8nyITukg5kVyPnahR3AcM\nktRaNVGMBxFOUrsRejqIvIegUS+TEWLF4AEFbWzsg69Uh5scG16jRv381SD+\nHtEZJBb23csPRFcpKNIGkyWcuk0XorqPHKjKiPBHeoTDprm2Y/d/5nedKjLe\npf0vuYQcpt0I8GX+MIaETPCS67sjvMReZvjXRuvBOTd6506h+ItxTAIIwhZo\nKjWmxHayKFLlihNa3QjPkECBLZYL00nJT4oNdYHgLgzH0iPnVOGkiyK2Z+Rg\nIJqH\r\n=W7fi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC32Qy9s3ORd7ntoXEoyIiW7jKoqE+RZDYdZtNiTIfZ+wIgLGd3LkXieCbt5kwDAvm4OtxdkhIvNK3gQinlnN0+HXA="}]},"maintainers":[{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handler_1.2.1_1564691433034_0.2745582390167398"},"_hasShrinkwrap":false},"1.3.0":{"name":"@alpha-lambda/handler","version":"1.3.0","description":"Middleware pipeline for AWS Lambda handlers","repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"main":"lib/handler.js","scripts":{"lint":"eslint .","test":"nyc --all mocha","posttest":"npm run lint","coveralls":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"license":"MIT","devDependencies":{"chai":"^4.1.1","coveralls":"^3.0.4","env-test":"^1.0.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-mocha":"^5.3.0","mocha":"^6.1.4","nyc":"^14.1.1","publish":"^0.6.0","sinon":"^7.3.2"},"dependencies":{},"gitHead":"826da2c7ea4b3a190561c5fd5359c20a56c46abc","bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"homepage":"https://github.com/alpha-lambda/handler-node#readme","_id":"@alpha-lambda/handler@1.3.0","_shasum":"1e115e49d629535c4b7c9f489ae85bf48e83f984","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.10.0","_npmUser":{"name":"antonbazhal","email":"am.bazhal@gmail.com"},"dist":{"shasum":"1e115e49d629535c4b7c9f489ae85bf48e83f984","tarball":"https://registry.npmjs.org/@alpha-lambda/handler/-/handler-1.3.0.tgz","integrity":"sha512-TvBz7VhokZsvCowFXoFFpJZwhdHkN/CYLdsF6pzBA6CxSZrJvVPlDhnHTKvemJlY31jAJvtQBTH/DHwuT62GPA==","fileCount":6,"unpackedSize":190153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8MRFCRA9TVsSAnZWagAAZDkP/1PMYveZZSkSfK+990m9\nmC+GQYU+mvGAqNpnqmeIR+jcWJvmsyQUy4NPI51rwXV+sPM6/hDaCxRfPcGQ\nyM1GFfNRjH+phGbNQEEgFMA/4QZbEnCqs0DQY26f+b8GeDSpFQS4pRc7RoZ1\nl5q3xMgrhdl9iBhsMPrOisQQgWrOO2kw+gxAnna0EYTzhwx3TDlGKYSFRr+h\ni/5H3BPPxAcOA7YN3nzwZ8A9ZAoX03Mof7Pmqqnm5ZlvOrYjBx9fmpNcSXRX\nQmv9npZzuDNwXxV70ruQVVVAG57Eai0uzNpY9s0eWU+OQgFmeQCQrpCFPPzP\nhOhDb9DpjDc2vdsGukICjoudeXN9uASqA7B5WXf7NVwPNfzydEkomi567/I4\nZn1hKPQdkKwdLbLFSnQG9uhoPUB2B4P23/W3W2FxMleatx0KRDE5cqS2E6kM\nfrg59MYoFSJI2N5523oVeIfeJXXqAR+03CIEQVzQsBOMBEFg8eG2uxemzQQ1\nh7iKoXdvXKfofF3URWc1fV8cFLJdBdq6sfXpMChLyaRI/ItbMXShuoZdLsa2\nyW4MYW90cXjt0fVd51BLYF2RTHzHPuaIiGIi2NhA0szQkvSMrh5gRQcUbMP9\nTvCmZeJix7t2pK/rUlP/t3b4UADD0ut9HClmYZZzGOsJDYMw3PYqf9WqW9LA\n5HIG\r\n=WNmA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5QjoVML6/8MywLaLP5qsfeC/jgT69KRmhuo0Pz8puPAIhAPQLg4R7WZvxvsFIYVN9OLQor2VKXwMzJmeDZMW316wJ"}]},"directories":{},"maintainers":[{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handler_1.3.0_1626391621070_0.44328506207557594"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-21T14:37:14.402Z","1.0.0":"2019-06-21T14:37:14.687Z","modified":"2022-04-04T13:37:58.745Z","1.1.0":"2019-06-21T21:08:56.680Z","1.1.1":"2019-06-24T13:17:30.058Z","1.2.0":"2019-08-01T15:57:13.433Z","1.2.1":"2019-08-01T20:30:33.249Z","1.3.0":"2021-07-15T23:27:01.273Z"},"maintainers":[{"name":"bdgamble","email":"bryan.d.gamble@gmail.com"},{"name":"dougmoscrop","email":"doug.moscrop@gmail.com"},{"name":"antonbazhal","email":"am.bazhal@gmail.com"},{"name":"tradigan","email":"todd.radigan@d2l.com"}],"description":"Middleware pipeline for AWS Lambda handlers","homepage":"https://github.com/alpha-lambda/handler-node#readme","keywords":["aws","aws lambda","function","lambda","middleware","serverless","wrap","wrapper"],"repository":{"type":"git","url":"git+https://github.com/alpha-lambda/handler-node.git"},"contributors":[{"name":"Doug Moscrop","email":"doug.moscrop@gmail.com","url":"https://www.github.com/dougmoscrop"}],"author":{"name":"Anton Bazhal","email":"am.bazhal@gmail.com","url":"https://github.com/AntonBazhal"},"bugs":{"url":"https://github.com/alpha-lambda/handler-node/issues"},"license":"MIT","readme":"# @alpha-lambda/handler\n\n[![Build Status][ci-image]][ci-url]\n[![Coverage Status][coverage-image]][coverage-url]\n[![NPM version][npm-image]][npm-url]\n[![Dependencies Status][dependencies-image]][dependencies-url]\n[![DevDependencies Status][devdependencies-image]][devdependencies-url]\n\nTiny wrapper that ensures that [AWS Lambda][aws-lambda-url] function's callback is always called. In other words, from your handler you can return value, promise, throw exception, and this library will wrap your code into a promise while calling appropriate lambda-required callback. Your handler is composed of middleware, similar to [Express][express-url] or [Koa][koa-url].\n\n## Installation\n\n```bash\n$ npm install @alpha-lambda/handler\n```\n\n## Usage\n\n```js\nconst handler = require('@alpha-lambda/handler');\nconst pino = require('pino');\n\nmodule.exports.handler = handler()\n\t.use(async (event, context, next) => {\n\t\t// this is some middleware\n\t\t// this will forward to next function in the chain\n\t\tawait next();\n\t\t// you can do things, like logging, after the fact\n\t\t// you can also override the return value\n\t})\n\t.with({\n\t\tlog: pino() // this will be accessible as context.log\n\t})\n\t.use((event, context) => {\n\t\tcontext.log.info({ event }, 'incoming event');\n\t\treturn 'Hello, world!';\n\t});\n```\n\n### .use(middleware)\nAdds middleware of the `function(event, context, next) {}` form to the chain.\n\n### .with(extensions)\nAdds extensions to the context. Extensions are grouped into sections. If context has a section already, new keys will be merged in, but will not override existing ones.\n\n### next()\n\nThe `next()` function takes up to three arguments: `(err, context, event)`.\n\nIf you specify `err`, then execution is rejected with it. You can also (optionally) specify context/event to override those values for subsequent middleware.\n\nExamples:\n\n```js\nnext(); // no err, no override for context/event\nnext(new Error('failure!')); // rejected with Error\nnext(null, {}); // context is overriden\nnext(null, null, {}); // event is overriden\nnext(null, {}, {}); // both context and event are overriden\n```\n\n## Middleware\n\nUse these middleware to extend functionality.\n\n| Middleware | Author |\n|:-------|:------:|\n| **[Bunyan Logger][alpha-lambda-bunyan-url]** <br/> Bunyan logger middleware for alpha-lambda | [Anton Bazhal][anton-bazhal-url] |\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016-2019 Anton Bazhal\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[anton-bazhal-url]: https://github.com/AntonBazhal\n[aws-context-url]: http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-context.html\n[aws-lambda-url]: https://aws.amazon.com/lambda/details/\n[bunyan-log-child-url]: https://www.npmjs.com/package/bunyan#logchild\n[bunyan-url]: https://www.npmjs.com/package/bunyan\n[ci-image]: https://circleci.com/gh/alpha-lambda/handler-node.svg?style=shield&circle-token=67cd5dfa3c7473cc2e7f7deff564cacf93082266\n[ci-url]: https://circleci.com/gh/alpha-lambda/handler-node\n[coverage-image]: https://coveralls.io/repos/github/alpha-lambda/handler-node/badge.svg?branch=master\n[coverage-url]: https://coveralls.io/github/alpha-lambda/handler-node?branch=master\n[dependencies-url]: https://david-dm.org/alpha-lambda/handler-node\n[dependencies-image]: https://david-dm.org/alpha-lambda/handler-node/status.svg\n[devdependencies-url]: https://david-dm.org/alpha-lambda/handler-node?type=dev\n[devdependencies-image]: https://david-dm.org/alpha-lambda/handler-node/dev-status.svg\n[express-url]: https://expressjs.com/\n[koa-url]: http://koajs.com/\n[alpha-lambda-bunyan-url]: https://www.npmjs.com/package/alpha-lambda-bunyan\n[npm-url]: https://www.npmjs.org/package/@alpha-lambda/handler\n[npm-image]: https://img.shields.io/npm/v/@alpha-lambda/handler.svg\n","readmeFilename":"README.md"}