
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
franz generates you serverless.yml
and webpack config.
Still in early stage!!
define a lambda.config.js
file and call franz
.
Now you could call webpack
with your webpack config. And finally serverless deploy
module.exports = {
service: 'service_name', //used by serverless
region: 'eu-central-1', //used by serverless
stage: 'dev', //used by serverless
variables: { //global environment variables for your lambda functions
FOO: 'bar',
BAR: process.env.BAR
},
functions: [
'./path/to/your/function', //with or without .js -> uses require() internally
]
}
your function file:
module.exports = {
name: 'my-function',
method: 'GET',
path: '/foo',
handler: function (request) {
return Promise.resolve({foo: 'bar'})
}
}
wbepack.config.js
const config = require('./dist/webpack.json') //contains all entry points...
module.exports = Object.assign(config, {
module: {
rules: [{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
}]
}
})
FAQs
Create webpack and serverless config files from your lambda definitions
The npm package franz receives a total of 3 weekly downloads. As such, franz popularity was classified as not popular.
We found that franz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.