current-module-paths

Access to __filename and __dirname within ECMAScript modules

Browse on unpkg