opendata/ts/paths.ts
2023-11-14 16:15:11 +01:00

11 lines
368 B
TypeScript

import * as plugins from './plugins.js';
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../'
);
export const nogitDir = plugins.path.join(packageDir, './.nogit/');
plugins.smartfile.fs.ensureDirSync(nogitDir);
export const germanBusinessDataDir = plugins.path.join(nogitDir, 'germanbusinessdata');