Closed tomergg closed 8 years ago
Why?
I'm working on a large project structured with sub-modules. Ideally, the config structure would look like this: project-name/module1.json project-name/module2.json project-name/module3.json
The idea of configstore is that you shouldn't care about where the config is stored. It just handled that for you. Sounds like conf
would be a better fit for you (see the configName
and cwd
options).
Thanks @sindresorhus I'll look into 'conf'
I'm thinking of adding an option to specify the root folder in the ctor arguments. Right now it's hardcoded to 'configstore'.
What do you think?