UNPKG

@guoyunhe/downloader

Version:

Download large files with minimum RAM usage. Support tar.gz and zip extraction.

100 lines 2.58 kB
{ "name": "@guoyunhe/downloader", "version": "1.5.0", "description": "Download large files with minimum RAM usage. Support tar.gz and zip extraction.", "keywords": [ "download", "extract", "archive", "unzip", "decompress", "node" ], "homepage": "https://github.com/guoyunhe/downloader#readme", "bugs": { "url": "https://github.com/guoyunhe/downloader/issues" }, "repository": { "type": "git", "url": "git+https://github.com/guoyunhe/downloader.git" }, "funding": "https://github.com/sponsors/guoyunhe", "license": "GPL-3.0", "author": { "name": "Guo Yunhe", "email": "i@guoyunhe.me" }, "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "CHANGELOG.md", "LICENSE", "README.md" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}": "eslint --fix", "*.{cjs,css,cts,html,js,json,jsx,less,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}": "prettier --write" }, "prettier": "prettier-config-ali", "dependencies": { "node-stream-zip": "^1.15.0", "tar": "^7.5.12" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@mdx-js/react": "^3.1.1", "@tsconfig/node16": "^1.0.4", "@types/jest": "^29.5.14", "@types/node": "^22.19.15", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "eslint": "^9.39.4", "eslint-config-ali": "^16.6.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.5", "husky": "^9.1.7", "lint-staged": "^16.4.0", "prettier": "^3.8.1", "prettier-config-ali": "^1.5.0", "react": "^18.3.1", "react-dom": "^18.3.1", "rive": "^3.3.2", "typescript": "^5.9.3", "vitest": "^3.2.4" }, "rive": { "template": "base", "doc": { "basename": "/downloader/" } }, "scripts": { "build": "rive build", "build:watch": "rive build --watch", "ci:eslint": "eslint -f json src -o ./.ci/eslint.json", "format": "node-scripts format", "lint": "eslint .", "lint:fix": "prettier --write . && eslint --fix .", "start": "rive start", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "test:watch": "vitest" } }