npm.io

Head request Packages

file_size_url

A lightweight Node.js library to fetch the file size from a remote URL without downloading the file. Zero dependencies. Returns a Promise with the file size formatted as 'B', 'KB', 'MB', 'GB', or 'TB'.

urlfilesizeremotefetchfile sizehttphttpshead requestfilesize
1.0.6 • Published 11 months ago

contact@npm.io