Popularity
0.3
Growing
Activity
0.0
Stable
2
1
1
Monthly Downloads: 0
Programming language: JavaScript
Tags:
Utilities
Command Line Utilities
Console
Terminal
CLI
Bin
Environment Variables
Command-line
Shell
Environment
Dot Environment Sync alternatives and similar modules
Based on the "Command Line Utilities" category.
Alternatively, view Dot Environment Sync alternatives based on common mentions on social networks and blogs.
-
KeyboardJS
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. -
log-update
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc. -
insight
Helps you understand how your tool is being used by anonymously reporting usage metrics to Google Analytics. -
ansi-escapes
ANSI escape codes for manipulating the terminal. -
sudo-block
Block users from running your app with root permissions. -
first-run
Check if it's the first time the process is run. -
licenseye
Node.js CLI tool to visualize an aggregate list of your dependencies' licenses -
cli-columns
Columnated unicode and ansi-safe text lists.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Dot Environment Sync or a related project?
README
Dot Environment Sync
Check different of 2 dotenv files and sync it
Install
npm install --save env-sync
Usage:
CLI
./node_modules/.bin/env-sync.js .env .env.default
DOCKER
docker run --rm -v $(pwd):$(pwd) kenylieou/env-sync /path/to/.env /path/to/.env.sample
example:
docker run --rm -v $(pwd):$(pwd) kenylieou/env-sync $(pwd)/.env $(pwd)/.env.default -v
CLI Options
Usage: env-sync [options] <file1> <file2>
file1: is the file need to check
file2: is the file used to compare
Options:
-V, --version output the version number
-s, --sync Sync the missing environment key and write to file1
-v, --verbose Display verbose
-h, --help output usage information
This is in .env.default
VAR1=1
VAR2=true
VAR3=false
VAR4=0
VAR5="hello world"
This is in .env
VAR1=
VAR2=1
VAR3=false
After run env-sync
VAR1=1
VAR2=1
VAR3=false
VAR4=0
VAR5="hello world"