Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

704
Views
Angular : Downloading and unzipping a .zip file without writing to disk with JavaScript

My API returning application/octet-stream response which I am able to download in zip format. But I want to extract the zip into an actual file before downloading.

fetch('./api'). // its returnType: arraybuffer  
.then((result) => {
 const blob = new Blob([result.body], { type: "application/octet-stream" }); // converting to blob
  //--------
  // Here Before downloading the file I want to extract and download the actual file
  //--------
 saveAs(blob, fileName); // file-saver lib using to download
});
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!