Pambda for manipulating headers.
npm i pambda-headers
const { compose, createLambda } = require('pambda');
const { addHeaders } = require('pambda-headers');
export.handler = createLambda(
compose(
addHeaders({
foo: 'bar',
}),
)
);
MIT