mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
9 lines
235 B
TypeScript
9 lines
235 B
TypeScript
import path from 'path';
|
|
|
|
import { parseConfigFile } from '@verdaccio/config';
|
|
|
|
export const getConf = (configName: string) => {
|
|
const configPath = path.join(__dirname, 'config', configName);
|
|
return parseConfigFile(configPath);
|
|
};
|