esor
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

esor

npm version GitHub Downloads (all assets, latest release) npm downloads

Utility for easy file downloading: fast, lightweight, cross-platform and flexible.

EnglishPусский

Description

A file download utility written in JavaScript with minimal dependencies. It can be used as a standalone program with command line interface, as well as a library for use in third-party Node.js projects.

Quick start

Command-line interface

Download executable for your platform from latest release and call it from command line:

esor [options] url1 [url2] [url...]

Example:

esor --output C:\Users\John\Downloads\10Mb.dat https://proof.ovh.net/files/10Mb.dat

Library

Install package using NPM:

npm i esor

Use in your project:

import { download } from 'esor';

const options = { output: `C:\Users\John\Downloads\10Mb.dat` };
await download('https://proof.ovh.net/files/10Mb.dat', options);

Features

  • Concurrency: chunk download queue with size limitations
  • Retry in case of request failure
  • Proxy support
  • Multiple protocols support: HTTP, HTTPS
  • Minimal dependencies and reduced code size
  • Command-line interface

/esor/

    Package Sidebar

    Install

    npm i esor

    Weekly Downloads

    7

    Version

    0.0.10

    License

    AGPL-3.0

    Unpacked Size

    63.4 kB

    Total Files

    21

    Last publish

    Collaborators

    • vitalygashkov