0.1.5 • Published 3 years ago
getdirname v0.1.5
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