0.1.1 • Published 4 years ago
esm-dirname v0.1.1
esm-dirname
This is a quick cludge almost entirely copied from here intended to help facilitate migration from CJS to ESM.
## Usage:
import { dirname } from "esm-dirname";
const __dirname = dirname(import.meta);