Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

smoliji/webfile-stream-to-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web file stream to stream

Writes a file from URL to filesystem using different request libraries.

Requirement: Image content type must be used to determine the correct extension.

How to run

  1. npm install to install dependencies
  2. npm run build to build Typescript source files
  3. npm start to start the script
  4. Result should be new files gotfile.jpeg and requestfile.jpeg

⚠️ File gotfile.jpeg downloaded with got contains only one chunk of the image.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published