New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

env2yaml

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env2yaml

Output environment variables to yaml

  • 0.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

Command line to store environment variables in yaml file

Install

npm i -g env2yaml

Usage

$ env2yaml [VARIABLES]

Arguments

VARIABLES Comma-separated list of variables to output

Options

-h, --help show CLI help
-o, --output=output [default: env.yaml] Output file
-v, --version show CLI version

generation of yaml files with values from package.json

another way of calling it is via npx. THe difference here - you can have here values from package.json. Just for example, command like

$ npx env2yaml npm_package_name,npm_package_version

creates me a file like this:

npm_package_name: env2yaml
npm_package_version: 0.0.8

then later on I can use it for example to generate other yaml files:

image:
        repository: docker.com/projects/{{.Values.npm_package_name}}
        tag: v{{.Values.npm_package_version}}
helm template ./chart -f env.yaml > application.yaml

Keywords

FAQs

Package last updated on 24 Jan 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc