From 043a49485cb8dec4223850a1a9586e08ac6ff685 Mon Sep 17 00:00:00 2001 From: coyotte508 Date: Tue, 3 Dec 2024 14:20:48 +0100 Subject: [PATCH] READMEs --- packages/blob/README.md | 4 ++-- packages/dduf/README.md | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/blob/README.md b/packages/blob/README.md index bd31a6ab6..84ebce19c 100644 --- a/packages/blob/README.md +++ b/packages/blob/README.md @@ -1,8 +1,8 @@ # 🤗 Hugging Face Blobs -Utilities to convert a string or URL to a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object, whether it represents a local file or remote URL. +Utilities to convert a string or URL to a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object, whether it represents a local file or a remote URL. -`fetch` already returns a `Blob` object for remote URLs, but it loads the entire file in memory. This utility makes ad-hoc http range requests when calling `.slice()` on the blob, for example. +`fetch` already returns a `Blob` object for remote URLs, but it loads the entire file in memory. This utility makes ad-hoc http range requests when calling `.slice()` on the blob. ## Install diff --git a/packages/dduf/README.md b/packages/dduf/README.md index 0d03ddd6d..993333965 100644 --- a/packages/dduf/README.md +++ b/packages/dduf/README.md @@ -1,8 +1,6 @@ # 🤗 Hugging Face DDUF -Utilities to convert a string or URL to a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object, whether it represents a local file or remote URL. - -`fetch` returns a `Blob` object for remote URLs, but it loads the entire file in memory. This utility makes an ad-hoc http range requests when calling `.slice()` on the blob, for example. +Very alpha version of a DDUF checker / parser. ## Install @@ -29,7 +27,6 @@ import { checkDDUF } from "npm:@huggingface/dduf"; ```ts import { checkDDUF } from "@huggingface/dduf"; - for await (const entry of checkDDUF(URL | Blob, { log: console.log })) { console.log("file", entry); }