filedirname
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
20
Versions
Artistic-2.0
License
No
Install Scripts
Maintainers
bevryme
Keywords
__dirname__filenamecommonjsdenodeno-editiondeno-entrydenolanddirectorydirnameecmascriptes2022es5esmexport-defaultfilefilenameimportmjsmodulesnodepathpathspolyfilltypedtypestypescript
Versions (showing 20 of 20)
| Version | Deps | Published |
|---|---|---|
| 3.4.0 | 3 / 15 | |
| 3.3.0 | 3 / 15 | |
| 3.2.0 | 3 / 16 | |
| 3.1.0 | 3 / 17 | |
| 3.0.1 | 3 / 16 | |
| 2.11.0 | 1 / 16 | |
| 2.10.0 | 1 / 16 | |
| 2.9.0 | 1 / 16 | |
| 2.8.0 | 1 / 17 | |
| 2.7.0 | 1 / 16 | |
| 2.6.0 | 1 / 16 | |
| 2.5.0 | 1 / 16 | |
| 2.4.0 | 1 / 16 | |
| 2.3.0 | 1 / 16 | |
| 2.2.0 | 1 / 16 | |
| 2.1.0 | 1 / 16 | |
| 2.0.0 | 1 / 16 | |
| 1.0.2 | 0 / 16 | |
| 1.0.1 | 0 / 16 | |
| 1.0.0 | 0 / 16 |