[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911192: RFP: node-cross-env -- Cross platform setting of environment scripts



Package: wnpp
Severity: wishlist

* Package name    : node-cross-env
  Version         : 553705c302
  Upstream Author : Kent C. Dodds
* URL             : https://notabug.org/themusicgod1/cross-env
* License         : MIT 
  Programming Lang: javascript
  Description     : Cross platform setting of environment scripts

Run scripts that set and use environment variables across platforms 
There's a difference in how windows and POSIX commands utilize environment 
variables. With POSIX, you use: $ENV_VAR and on windows you use %ENV_VAR%.

cross-env makes it so you can have a single command without worrying about 
setting or using the environment variable properly for the platform. Just 
set it like you would if it's running on a POSIX system, and cross-env 
will take care of setting it properly.

node-cross-env is a dev-dependency of node-prettier ( #879665 ).


Reply to: