{"id":25442087,"url":"https://github.com/vitalygashkov/molnia","last_synced_at":"2025-11-01T14:30:23.495Z","repository":{"id":229411148,"uuid":"775626328","full_name":"vitalygashkov/molnia","owner":"vitalygashkov","description":"Fast and lightweight library for downloading files","archived":false,"fork":false,"pushed_at":"2024-09-05T09:19:28.000Z","size":279,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-05T17:01:21.264Z","etag":null,"topics":["async","concurrency","download","file","http","nodejs"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/molnia","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitalygashkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-21T18:31:14.000Z","updated_at":"2024-09-05T09:19:25.000Z","dependencies_parsed_at":"2024-04-14T17:46:08.515Z","dependency_job_id":"5a76cc31-4fd8-45cb-a5a0-9e0c4536fc53","html_url":"https://github.com/vitalygashkov/molnia","commit_stats":null,"previous_names":["vitalygashkov/esor","vitalygashkov/molnia"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalygashkov%2Fmolnia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalygashkov%2Fmolnia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalygashkov%2Fmolnia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalygashkov%2Fmolnia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalygashkov","download_url":"https://codeload.github.com/vitalygashkov/molnia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293933,"owners_count":19615043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","concurrency","download","file","http","nodejs"],"created_at":"2025-02-17T13:16:45.389Z","updated_at":"2025-11-01T14:30:23.455Z","avatar_url":"https://github.com/vitalygashkov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# molnia\n\n[![npm version](https://img.shields.io/npm/v/molnia?style=flat\u0026color=black)](https://www.npmjs.com/package/molnia)\n![GitHub Downloads (all assets, latest release)](https://img.shields.io/github/downloads/vitalygashkov/molnia/latest/total?style=flat\u0026color=black)\n[![npm downloads](https://img.shields.io/npm/dt/molnia?style=flat\u0026color=black)](https://www.npmjs.com/package/molnia)\n\nUtility for easy file downloading: fast, lightweight, cross-platform and flexible.\n\n## Description\n\nA 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.\n\n## Quick start\n\n### Command-line interface\n\nDownload and install [Node.js](https://nodejs.org/en/download/). Run app:\n\n```\nnpx molnia [options] url1 [url2] [url...]\n```\n\nExample:\n\n```\nnpx molnia --output C:\\Users\\John\\Downloads\\10Mb.dat https://proof.ovh.net/files/10Mb.dat\n```\n\n### Library\n\nInstall package using NPM:\n\n```\nnpm i molnia\n```\n\nUse in your project:\n\n```js\nimport { download } from 'molnia';\n\nconst options = { output: `C:\\Users\\John\\Downloads\\10Mb.dat` };\nawait download('https://proof.ovh.net/files/10Mb.dat', options);\n```\n\n## Features\n\n- **Concurrency**: chunk download queue with size limitations\n- **Retry** in case of request failure\n- **Proxy** support\n- **Multiple protocols** support: HTTP, HTTPS\n- **Minimal dependencies** and reduced code size\n- **Command-line interface**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalygashkov%2Fmolnia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalygashkov%2Fmolnia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalygashkov%2Fmolnia/lists"}