In our Node.JS application, we have been specifying application environments (dev, qa, stage, prod, etc.) in package.json as below: "start-prod": "NO ...
In our Node.JS application, we have been specifying application environments (dev, qa, stage, prod, etc.) in package.json as below: "start-prod": "NO ...
I have a NodeJS application that uses Node-Config (https://www.npmjs.com/package/config) to load application configurations. What I'm trying to do is ...
https://github.com/node-config/node-config Quote from github: Install in your app diectory, and edit the default config file: $ npm install con ...
I have a node.js app & have some configurations based on the environment. So decided to use https://www.npmjs.com/package/config In accordance, ...
I am trying to integrate config package in my nx.dev typescript project. I have a config directory at root level that contains default.json in my i ...
possibly a very simple question: I need to get a configuration value from within an html block in a vue file. I have this simple config.js And thi ...
I have the following default/config.js file In my index.ts, I have In my unit tests I want to test for both cases of isVisible, while keeping th ...
Comparatively new to JS and node, Requirement: Need to set the environment variables after reading it from a secure store before the config module is ...
I introduce myself currently for the first time in jest and nodejs. I am facing the problem that I have to mock two different values from the nodejs c ...
I am trying to test my config files by validating them, nothing fancy, a schema, a list of envs, iterate over it, load the config and validate the var ...
Im migrating my config from another library to node-config. I have two questions: The old library uses config.get('a:b'); to get some value, but ...
Although I am not familiar with DevOps best practices, I am trying to come up with a reliable and efficient method for managing multiple variables in ...
I'm moving a node.js/express application to nest.js. The config of the app is handled with node-config (default.js and host specific js-files). I have ...
I am using node-config in basically all my projects and most of the time I come across the problem of parsing booleans and numbers which are set as en ...
I want to load environment variables into the general config of my Express app. Locally I work with a .env file, but when deploying, I'll inject the e ...
I have a problem with the node-config library while using typescript. My config folder is as follows: However after I run tsc and try to start my ...
I am implementing Option 2 from the node-config docs. This runs fine, and my global config variable is defined when running outside of a test environ ...
I can not get item from an array in the configuration file. I'm trying to get the SearchInitUrl prop of first Search item, and I'm using did no ...
Node-config's custom-environment-variables.json doesn't seem to be overriding values in default.json when NODE_ENV is set to 'test.' Here's an extreme ...
I'm unable to use node-config to get environment variables in Windows. My index.js is running a CMD with nodemon. I've open a new CMD and typed set ...