package
Find configuration for the current file from provided path, workspace, package or HOME directory
npm install vscode-config-resolverGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 7 packages.
65.4 kB
Includes dependencies.
3 direct · 3 outdated
Find configuration for the current file from provided path, workspace, package or HOME directory.
If you want to thank me, or promote your Issue.
Sorry, but I have work and support for plugins requires some time after work. I will be glad of your support.
$ npm i -S vscode-config-resolverconst ConfigResolver = require('vscode-config-resolver');
const configResolver = new ConfigResolver('./path/to/workspace/');
configResolver.scan('./path/to/current/file', {}).then((config) => {
console.log(config);
// { from: '', json: {} }
});Find configuration for the current file.
StringnullThe property that contains the configuration. Automatically adds the package.json file to options.configFiles.
String[][]An array of files that may contain configuration.
Object or StringnullConfig from editor preferences. Supports:
~. or ../ or /Object{}If options.editorSettings contains the name of configuration.
IParser[]js + json[
{ pattern: /.*(json|rc)$/, parser: JSON.parse },
{ pattern: /.*(js|rc)$/, parser: requireString }
]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.