You've already forked careful-downloader
mirror of
https://github.com/jakejarvis/careful-downloader.git
synced 2025-06-27 17:25:42 -04:00
rename package to careful-downloader
This commit is contained in:
14
README.md
14
README.md
@ -1,23 +1,23 @@
|
||||
# 🕵️♀️ careful-download
|
||||
# 🕵️♀️ careful-downloader
|
||||
|
||||
[](https://github.com/jakejarvis/careful-download/actions/workflows/ci.yml)
|
||||
[](https://www.npmjs.com/package/careful-download)
|
||||
[](LICENSE)
|
||||
[](https://github.com/jakejarvis/careful-downloader/actions/workflows/ci.yml)
|
||||
[](https://www.npmjs.com/package/careful-downloader)
|
||||
[](LICENSE)
|
||||
|
||||
Downloads a file and its checksums to a temporary directory, validates the hash, and optionally extracts it if safe. A headache-averting wrapper around [`got`](https://github.com/sindresorhus/got), [`sumchecker`](https://github.com/malept/sumchecker), and [`decompress`](https://github.com/kevva/decompress).
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install careful-download
|
||||
npm install careful-downloader
|
||||
# or...
|
||||
yarn add careful-download
|
||||
yarn add careful-downloader
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import downloader from "careful-download";
|
||||
import downloader from "careful-downloader";
|
||||
|
||||
await downloader(
|
||||
"https://github.com/gohugoio/hugo/releases/download/v0.88.1/hugo_extended_0.88.1_Windows-64bit.zip",
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "careful-download",
|
||||
"name": "careful-downloader",
|
||||
"version": "0.0.0",
|
||||
"description": "🕵️♀️ Downloads a file and its checksums to a temporary directory, validates the hash, and optionally extracts it if safe.",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/jakejarvis/careful-download",
|
||||
"homepage": "https://github.com/jakejarvis/careful-downloader",
|
||||
"author": {
|
||||
"name": "Jake Jarvis",
|
||||
"email": "jake@jarv.is",
|
||||
@ -11,7 +11,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jakejarvis/careful-download.git"
|
||||
"url": "https://github.com/jakejarvis/careful-downloader.git"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": "./index.js",
|
||||
|
Reference in New Issue
Block a user