NestarZ
NestarZ2y ago

Deno.readDir on current script even if used like an http package.

Hello !! I would like to do Deno.readDir and readFiles on files relative to the script that execute Deno.readDir even if the script lives in deno.land/x. How should I do it ? Any help is welcomed thank you.
1 Reply
Leokuma
Leokuma2y ago
Deno
Location | Runtime APIs | Deno
The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Accessible via globalThis.location.

Did you find this page helpful?