Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
dirname
The Deno implementation of __dirname of Node
martonlederer/dirname
Version
Latest
1.1.2
Directory
3 KB
.github
316 B
.vscode
100 B
.eggignore
23 B
egg.yml
318 B
LICENSE
1 KB
mod.ts
472 B
README.md
396 B
test.ts
150 B
types.ts
128 B