0.1.0 • Published 5 months ago

molnia v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

molnia

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

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

Description

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

Quick start

Command-line interface

Download and install Node.js. Run app:

npx molnia [options] url1 [url2] [url...]

Example:

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

Library

Install package using NPM:

npm i molnia

Use in your project:

import { download } from 'molnia';

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
0.1.0

5 months ago

0.0.15

8 months ago

0.0.14

9 months ago

0.0.13

10 months ago

0.0.12

11 months ago