UNPKG

providence-analytics

Version:

Providence is the 'All Seeing Eye' that measures effectivity and popularity of software. Release management will become highly efficient due to an accurate impact analysis of (breaking) changes

10 lines (8 loc) 234 B
import { dirname } from 'path'; import { fileURLToPath } from 'url'; /** * @param {string} importMetaUrl should be import.meta.url */ export function getCurrentDir(importMetaUrl) { return dirname(fileURLToPath(importMetaUrl)); }