Node-config organizes hierarchical configurations for your app deployments. It lets you define a set of default parameters, and extend them for different deployment environments (development, qa, staging, production, etc.). Configurations are stored in configuration files within your application, and can be overridden and extended by environment variables, command line parameters, or external sources. This gives your application a consistent configuration interface shared among a growing list of npm modules also using node-config. config.get() will throw an exception for undefined keys to help catch typos and missing values. Use config.has() to test if a configuration value is defined. Running in this configuration, the port and dbName elements of dbConfig will come from the default.json file, and the host element will come from the production.json override file.

Features

  • Get started fast
  • For multi-node enterprise deployment
  • Supporting multiple config file formats
  • Small file and memory footprint
  • Well tested foundation for module and app developers
  • Install in your app directory, and edit the default config file

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Configure your Node.js Applications

Configure your Node.js Applications Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Configure your Node.js Applications!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2022-08-25