
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
config-profiler
Advanced tools
Find configuration for the current file from provided path, workspace, package, settings, HOME directory or env variable
Find configuration for the current file from provided path, settings,
package.json, workspace, HOME directory or env variable.
If you want to thank me, or promote your Issue.
Sorry, but I have work and support for plugins and modules requires some time after work. I will be glad of your support or PR's.
$ npm i -S config-profiler
For example, if your config name is "my-cofig" we will search out configuration in the following places and order:
options.settings):
* Return options.settings if they are the object.
* Return config from oprions.predefinedConfigs by name in the options.settings if is a string and it is found.
* Return config from filepath defined in the options.settings.options.envVariableName)options.configFiles
* package.json if you set options.packagePropnull.const ConfigProfiler = require('config-profiler');
const configProfiler = new ConfigProfiler('./path/to/current/workspace', {
configFiles: ['my-super-module-config.json', 'my-super-module-config.js']
});
configProfiler.getConfig('./path/to/current/file').then((result) => {
console.log(result);
// { from: './bla/bla/my-super-module-config.json', config: { ok: true } }
});
See /docs/api.md.
See /docs/options.md.
See the Releases section of our GitHub project for changelogs for each release version.
This software is released under the terms of the MIT license.
FAQs
Find configuration for the current file from provided path, workspace, package, settings, HOME directory or env variable
We found that config-profiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.