JSPM

  • Created
  • Published
  • Downloads 7117
  • Score
    100M100P100Q117796F
  • License MIT

Finds the directory that the modules resides in

Package Exports

  • module-root-sync

Readme

module-root-sync

Finds the directory that the modules resides in.

import moduleRoot from 'module-root-sync';

const root = moduleRoot(import.meta.filename);

Documentation

API Docs