Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into beta
Browse files Browse the repository at this point in the history
# Conflicts:
#	.eslintrc.json
#	README.md
#	assets/pull-file.gif
#	examples/browser-log.ts
#	examples/browser.html
#	examples/node-cli.ts
#	package-lock.json
#	package.json
#	src/browser.ts
#	src/cli/cli.ts
#	src/download/browser-download.ts
#	src/download/download-engine/download-engine-file.ts
#	src/download/download-engine/engine/base-download-engine.ts
#	src/download/download-engine/engine/download-engine-browser.ts
#	src/download/download-engine/engine/download-engine-nodejs.ts
#	src/download/download-engine/progress-status-file.ts
#	src/download/download-engine/streams/download-engine-fetch-stream/base-download-engine-fetch-stream.ts
#	src/download/download-engine/streams/download-engine-write-stream/download-engine-write-stream-browser.ts
#	src/download/download-engine/types.ts
#	src/download/node-download.ts
#	src/download/transfer-visualize/transfer-cli.ts
#	src/download/transfer-visualize/transfer-statistics.ts
#	src/index.ts
#	test/browser.test.ts
#	test/copy-file.test.ts
#	test/download.test.ts
#	test/utils/copy.ts
#	test/utils/download.ts
  • Loading branch information
ido-pluto committed Feb 26, 2024
2 parents 24d6701 + e7d4163 commit 01219b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/node-without-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {downloadFile} from "ipull";

const DOWNLOAD_URL = "https://huggingface.co/TheBloke/Falcon-180B-Chat-GGUF/resolve/main/falcon-180b-chat.Q6_K.gguf-split-a?download=true";
const downloader = await downloadFile(DOWNLOAD_URL, {
cliProgress: false
});

downloader.download();

0 comments on commit 01219b7

Please sign in to comment.