
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
aws-app-config-to-env
Advanced tools
This Node.js module provides a function that allows you to fetch the latest configuration from AWS AppConfig and store it in a .env file.
This Node.js module provides a function that allows you to fetch the latest configuration from AWS AppConfig and store it in a .env file.
To install the module, run the following command:
npm install aws-app-config-to-env
Or, if you prefer Yarn:
yarn add aws-app-config-to-env
import setConfigurationToEnv from 'aws-app-config-to-env';
await setConfigurationToEnv({
applicationIdentifier: 'my-app',
environmentIdentifier: 'dev',
profileIdentifier: 'my-profile',
envPath: '.env',
});
The setConfigurationToEnv() function takes an object with the following properties:
applicationIdentifier
: The ID of the AppConfig application that contains the configuration you want to fetch.
environmentIdentifier
: The ID of the AppConfig environment that contains the configuration you want to fetch.
profileIdentifier
: The ID of the AppConfig configuration profile that contains the configuration you want to fetch.
envPath
: The path where the .env file should be created.
When you call setConfigurationToEnv()
, it will fetch the latest configuration from AWS AppConfig using the GetLatestConfigurationCommand()
method. The configuration will be parsed from YAML format to a string of key-value pairs, which will then be written to a .env
file at the specified envPath.
FAQs
This Node.js module provides a function that allows you to fetch the latest configuration from AWS AppConfig and store it in a .env file.
The npm package aws-app-config-to-env receives a total of 77 weekly downloads. As such, aws-app-config-to-env popularity was classified as not popular.
We found that aws-app-config-to-env 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.