
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.
This tiny library will parse YAML extensions used in serverless framework.
${file(path/to/file.yml)}
${env:NODE_ENV}
${global:path.to.variable}
${self:path.to.variable}
This extension will include content of external yaml files.
version : 1
env: dev
config: ${file(./common.yml)}
endpoint: http://service-url
version : 1
env: dev
config:
endpoint: http://service-url
This extension will inject envronment values
export NODE_ENV = development
version : 1
env: ${env:NODE_ENV}
version : 1
env: development
This extension will inject variable from global scope.
version : 1
env: stage
config: ${file(./common.yml)}
endpoint: http://service-${global:env}
version : 1
env: stage
config:
endpoint: http://service-stage
This extension will inject variable from local scope.
version : 1
env: stage
config: ${file(./common.yml)}
port: 8080
endpoint: http://service:${self:port}
version : 1
env: stage
config:
port: 8080
endpoint: http://service:8080
FAQs
Serverless framework yaml extension parser
The npm package sls-yaml receives a total of 42 weekly downloads. As such, sls-yaml popularity was classified as not popular.
We found that sls-yaml demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.