Tiny Dirname A tiny isomorphic ESM alternative to Node's "__dirname" global. Install npm install --save tiny-dirname Usage import dirname from 'tiny-dirname'; dirname ( import.meta.url ); // => '/path/to' License MIT © Fabio Spampinato