Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 181 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 181 Bytes

Install on your Project.

npm install dirname-for-module

Usage

import { __dirname } from "dirname-for-module";

console.log(__dirname); // outputs "/path/to/the"