DenoDDeno
Powered by
PhatsoP
Denoβ€’2y agoβ€’
5 replies
Phatso

Importing local files (streaming large JSON files)

is there an easy way to load a massive json file into memory? i found: https://deno.land/x/json_stream@v0.1.0-pre.12 but it's
fetch
fetch
on a local file example doesn't seem to work for me:
error: Uncaught (in promise) TypeError: Invalid URL: 
error: Uncaught (in promise) TypeError: Invalid URL: 


am i doing something wrong or is there a new way to load local files
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

LSP becomes slow when importing large json
phoenisxPphoenisx / help
4y ago
Streaming large files with fetch and FormData
disintegratorDdisintegrator / help
3y ago
Importing local Node.js modules
abiAabi / help
3y ago
Importing JSON files with a different file extension fails as "Unknown module"
VeΕ„VVeΕ„ / help
3y ago