
Security News
Cline CLI npm Package Compromised via Suspected Cache Poisoning Attack
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.
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
The npm package config-profiler receives a total of 3 weekly downloads. As such, config-profiler popularity was classified as not popular.
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
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.