Got Simulo?G
Denoβ€’8mo agoβ€’
2 replies
Got Simulo?

How to get the path to the file from a deno_core op2?

I want to implement a subset of
fs
in
op2
, but I want it to be relative to the dir the file is in.

I can't find anything on
OpState
or
HandleScope
for that though. And right now,
import.meta.path
is
undefined
, not sure how to fix that either
Was this page helpful?