Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
serverless-local-environment
Advanced tools
This plugin helps you add some conf that will only work for serverless invoke local
This way :
npm install --save-dev serverless-local-environment
You can use it like
serverless.yml
plugins:
- serverless-local-environment
...
functions:
my-function:
handler: index.handler
stage: dev
environment:
ENV: dev
local-environment:
ENV: local
Aws serverless plugin set LD_LIBRARY_PATH to '/usr/local/lib64/node-v4.3.x/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib'
(see https://github.com/serverless/serverless/blob/4b71faf2128308894646940ce2fb64e826450972/lib/plugins/aws/invokeLocal/index.js#L95), this library is adding this value to your local LD_LIBRARY_PATH values
FAQs
Serverless Plugin to set local environment variables
The npm package serverless-local-environment receives a total of 206 weekly downloads. As such, serverless-local-environment popularity was classified as not popular.
We found that serverless-local-environment 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.