DenoDDeno
Powered by
whosyourdaddyW
Denoβ€’3y agoβ€’
4 replies
whosyourdaddy

Read source code content

Is there a way to read the current source code of the a given a file URL (using
import.meta.url
import.meta.url
) without re-downloading it?

I know that inside $DENO_DIR or cache directories there are the content of the already downloaded files, but I suppose they are content-addressable somehow (sha1, maybe?). I have a code that generates a schema based on types definitions but currently I need to download them all again because I can't leverage the deno cache.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Missing transpiled source code
reedRreed / help
3y ago
error Missing transpiled source code for
texasrangerTtexasranger / help
4y ago
Is there any good tools to covert npm source code to deno source package?
ahuigo.Aahuigo. / help
3y ago