Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Node-config Alternatives
Similar projects and alternatives to node-config
-
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
configstore
Easily load and persist config without having to think about where and how
-
-
-
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
-
Inquirer.js
A collection of common interactive command line user interfaces.
-
Testify
A toolkit with common assertions and mocks that plays nicely with the standard library
-
-
-
-
-
omelette
Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish)
-
TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
-
frp
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
-
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
node-config reviews and mentions
-
topoconfig: enhancing config declarations with graphs
node-config
-
How We Converted a GitHub Tool Into a General Purpose Webhook Proxy to Supercharge Our Integration Development
This will allow to set a security operation mode and configure the channels. I chose to use the config package as I had good experience with it and it supports cascading config options.
-
Tailwind CSS: Using dynamic breakpoints and container queries
Tailwind CSS v3.2.4 includes a new @config directive that lets you specify which Tailwind CSS config to use for that file.
-
Managing Your Distributed Node.js Application Environment and Configuration
In this article, I'm going to demonstrate how the dotenv and node-config NPM packages can be used together to keep your Node.js application code organized across environments.
-
NextJS - Get rid of DotENV
I always disliked the .env file. Almost every time I was forced to place it on the top level of my app directory. At some point i started to use the npm config package. This gives the application a consistent configuration interface and there is a formidable way to implement it into the NextJS environment. For people which prefer code over text, feel free to checkout the finished implementation.
-
Advice for writing enterprise-level API in Go?
How do I handle configs? In our Node APIs we use this config package, which allows us to override default configs on a per-environment basis. What's the standard way of doing this in Go?
-
The Perfect Configuration Format? Try TypeScript
I have used TypeScript for config in a few projects, with node-config[1], and it’s substantially better IME than JSON/YAML/etc. Yeah it’s unconventional to write configs in a general purpose language, and I understand why that would be undesirable. But having configs validated at compile time is great at preventing bugs.
I’m not sure I’d recommend node-config (it was chosen by a past team). Its magic undermines the confidence in type safety provided by choosing TypeScript in the first place. But it does give some good baseline conventions one can apply without all the magic.
-
Serverless functions with FN project
docker run --rm -it --link fnserver:api -p 4000:4000 -e "FN_API_URL=http://api:8080" fnproject/ui Unable to find image 'fnproject/ui:latest' locally latest: Pulling from fnproject/ui b56ae66c2937: Pull complete e93c4ef66dd7: Pull complete a9e499bf0a12: Pull complete ba1608f40908: Pull complete 6464d2649fbf: Pull complete ebc7db4cf098: Pull complete f34c1cd5ef21: Pull complete dc688e6ebaad: Pull complete Digest: sha256:82c5b2fd02d702d2294bb107c1c022dba699241f64e4e14b77519d4c25bbb5f9 Status: Downloaded newer image for fnproject/ui:latest > [email protected] start /app > node server WARNING: NODE_ENV value of 'production' did match any deployment config file names. WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode info: Using API url: api:8080 info: Server running on port 4000
-
A simple configuration file loader and compositor utility.
Looks like the config module, but more steps needed to make it work. Is there anything that makes your module the better solution for your problem?
Thank you for your detailed answer. I think you did miss the correct approach to using ENV vars in the config module, which would be to have a separate file called 'custom-environment-variables.json' that maps your environment variables to the right property. For example: config/default.js module.exports = { db: { user: 'dev-user', password: '123456', host: 'db', name: 'application' } } config/custom-environment-variables.json { "db": { "user": "DB_USER", "password": "DB_PASSWORD", "host": "DB_HOST" } } db.js const dbConfig = require('config').get('db'); console.log(dbConfig); Run: DB_USER=prod-user DB_PASSWORD=abcdef DB_HOST=prod node db.js Output: { "user": "prod-user", "password": "abcdef", "host": "db", "name": "application" } Config composition is actually configs greatest feature I would say. Though the priority chain in the config module is hardcoded (see: https://github.com/lorenwest/node-config/wiki/Configuration-Files), while in yours you can actually which source takes priority.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Mar 2024
Stats
node-config/node-config is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
The primary programming language of node-config is JavaScript.