UNPKG

@verdaccio/config

Version:
11 lines (10 loc) 372 B
import { ConfigYaml } from '@verdaccio/types'; /** * Parse a config file from yaml to JSON. * @param configPath the absolute path of the configuration file */ export declare function parseConfigFile(configPath: string): ConfigYaml & { config_path: string; configPath: string; }; export declare function fromJStoYAML(config: Partial<ConfigYaml>): string | null;