getdirname
v0.1.6
Published
Get callee directory
Downloads
49
Maintainers
Readme
getdirname
Get callee directory
Features
- Zero dependency
- Fast
- Exact callee directory
- Both CJS and ESM support
Usage
ESM
import dirname from 'getdirname';
dirname();
CJS
const dirname = require('getdirname');
dirname();
License
MIT