1.1.9 • Published 6 months ago
module-root-sync v1.1.9
module-root-sync
Finds the directory that the modules resides in.
import moduleRoot from 'module-root-sync';
const root = moduleRoot(import.meta.filename);
Finds the directory that the modules resides in.
import moduleRoot from 'module-root-sync';
const root = moduleRoot(import.meta.filename);