Skip to main content

@chiba/wget@0.0.19
Built and signed on GitHub Actions

wget. file download.

This package works with Deno
JSR Score
100%
Published
3 months ago (0.0.19)

wget

JSR JSR Score

File download

Usage

API

$ deno add @chiba/wget
import { wget } from "@chiba/wget";

await wget("https://deno.land/logo.svg");

CLI

$ deno run jsr:@chiba/wget/cli https://deno.land/logo.svg

REPL

$ deno
> import {wget} from "jsr:@chiba/wget"
undefined
> await wget("https://deno.land/logo.svg");
{
  response: Response {
    body: ReadableStream { locked: false },
    bodyUsed: true,
    headers: Headers { ... },
    ok: true,
    redirected: false,
    status: 200,
    statusText: "OK",
    url: "https://deno.land/logo.svg"
  },
  outputDocument: "logo.svg"
}
>
$ ls
logo.svg
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @chiba/wget

Import symbol

import * as mod from "@chiba/wget";