yoggydY
Denoβ€’3y agoβ€’
1 reply
yoggyd

how to use Untar without deprecated functions?

Untar
from std/archives requires an instance of
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
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
class: https://deno.land/std@0.203.0/archive/mod.ts?s=Untar
Was this page helpful?