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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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