
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
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 26 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.