conf
conf copied to clipboard
Simple config handling for your app or module
I dug up a little inside the conf module code and appears to me that each **get**/read function call uses the `fs readFileSync` to get the data from the config...
I have a default path being stored that usings path.join to create the path, when getting the path back from the config, it is not formatted correctly. E.G. ```ts export...
Given that many other libraries are moving to providing async only APIs the fact that migrations cannot be (reliably) an async function (IMO) is detrimental since moving from sync ->...
Due to this: https://github.com/facebook/jest/pull/9841/files and this: https://github.com/sindresorhus/conf/blob/410cc144141f1467cc91fe4b16f6b7f42a8afac8/index.js#L21-L23 => ``` console.warn `require.cache` modification is not permitted ``` (output'ed many times in the console when unit-testing, with full stacktrace, so quite disruptive,...
I use conf to save some stat KPI(a lot of count and timing), combo and send it to my stat server. However, user maybe manipulate frequently, and conf will writeFileSync...
Right now, [`AES-256-CBC` is hardcoded as encryption algorithm](https://github.com/sindresorhus/conf/blob/main/source/index.ts#L19). Other AES-256 modes, such as GCM, offer some benefits over CBC (like authentication). Changing this would be a breaking change, so a...
Trying to use the component in an electron app, with specifying the JSON schema. What I expect is that I can create the store with a potentially invalid underlying config,...
First, thanks for the wonderful open source work. Secondly, the following observation currently only applies to Linux. This is because I have not tested or tried to reproduce this behavior...
Each read right now reads the data from the disk, which affects performance if conf is used in a high load application as the main storage. This change stores each...
Is it possible to define some **custom storage provider**, so that the data is not stored in some local file? In my setup there is some **external storage** where data...