DenoDDeno
Powered by
yoggydY
Denoβ€’3y agoβ€’
1 reply
yoggyd

how to use Untar without deprecated functions?

Untar
Untar
from std/archives requires an instance of
Reader
Reader
- apparently most functions return some ReadableStream though. I only found a function in std/streams to convert a ReadableStream to a Reader. That function is deprecated though and will be removed in 1.0.0. What can I use instead? Or will the
Untar
Untar
class take a ReadableStream in 1.0.0?

EDIT:
the deprecated function: https://deno.land/std@0.203.0/streams/mod.ts?s=readerFromStreamReader
the
Untar
Untar
class: https://deno.land/std@0.203.0/archive/mod.ts?s=Untar
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Unable to use Deno.createHttpClient without deprecated flag --unstable
moneroMmonero / help
3y ago
prototype dot functions. How?
BairdyBBairdy / help
4y ago
How to use cron?
ruanRruan / help
12mo ago
How to use ErrorBoundary
developershourovDdevelopershourov / help
2y ago