Run scripts that set and use environment variables across platforms. Cross-env still works well, but is in maintenance mode. No new features will be added, only serious and common-case bugs will be fixed, and it will only be kept up-to-date with Node.js over time. Most Windows command prompts will choke when you set environment variables with NODE_ENV=production like that. (The exception is Bash on Windows, which uses native Bash.) Similarly, there's a difference in how windows and POSIX commands utilize environment variables.
Features
- cross-env makes it so you can have a single command without worrying about setting
- Documentation available
- The cross-env module exposes two bins
- Examples available
- On Windows you need to use cross-env-shell
- Licensed under the MIT License
Categories
Desktop EnvironmentLicense
MIT LicenseFollow cross-env
Other Useful Business Software
Optimize every aspect of hiring with Greenhouse Recruiting
What’s next for many of us is changing. Your company’s ability to hire great talent is as important as ever – so you’ll be ready for whatever’s ahead. Whether you need to scale your team quickly or improve your hiring process, Greenhouse gives you the right technology, know-how and support to take on what’s next.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of cross-env!