UNPKG
@funny-ui/cli
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.2
0.0.1
funny-ui cli
github.com/programmermark/funny-cli
programmermark/funny-cli
@funny-ui/cli
/
src
/
node
/
shared
/
fsUtils.ts
6 lines
(4 loc)
•
125 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ fileURLToPath }
from
"url"
;
export
function
getDirname
(
url: string
) {
return
fileURLToPath
(
new
URL
(
"."
, url)); }