Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martonlederer/dirname
The Deno implementation of __dirname of Node
https://github.com/martonlederer/dirname
Last synced: 3 days ago
JSON representation
The Deno implementation of __dirname of Node
- Host: GitHub
- URL: https://github.com/martonlederer/dirname
- Owner: martonlederer
- License: mit
- Created: 2020-10-07T14:54:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T11:13:24.000Z (almost 4 years ago)
- Last Synced: 2023-08-08T20:47:15.546Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://nest.land/package/dirname
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dirname
A dead simple implementation of Node's __dirname in Deno
## Usage
```ts
import makeloc from 'https://x.nest.land/[email protected]/mod.ts'const { __dirname, __filename } = makeloc(import.meta)
```