From f12139eb2b7417d942778f9565744c0210b67b29 Mon Sep 17 00:00:00 2001 From: ztimson Date: Sat, 28 Sep 2024 10:30:19 -0400 Subject: [PATCH] Updated cache --- Home.md | 2 ++ files.md | 64 +++++++++++++++++++++++++++---------------------------- index.md | 16 ++++++++++---- string.md | 24 ++++++++++----------- 4 files changed, 58 insertions(+), 48 deletions(-) diff --git a/Home.md b/Home.md index b554f30..b565d89 100644 --- a/Home.md +++ b/Home.md @@ -4,6 +4,8 @@ - [array](array.md) - [aset](aset.md) +- [cache](cache.md) +- [csv](csv.md) - [emitter](emitter.md) - [errors](errors.md) - [files](files.md) diff --git a/files.md b/files.md index f6a6ba4..1e2985a 100644 --- a/files.md +++ b/files.md @@ -4,9 +4,35 @@ ## Functions -### download() +### downloadFile() -> **download**(`href`, `name`?): `void` +> **downloadFile**(`blob`, `name`): `void` + +Download blob as a file + +#### Parameters + +• **blob**: `string` \| `string`[] \| `Blob` + +File as a blob + +• **name**: `string` + +Name blob will be downloaded as + +#### Returns + +`void` + +#### Defined in + +src/files.ts:11 + +*** + +### downloadUrl() + +> **downloadUrl**(`href`, `name`?): `void` Download a file from a URL @@ -26,33 +52,7 @@ Override download name #### Defined in -src/files.ts:10 - -*** - -### downloadBlob() - -> **downloadBlob**(`blob`, `name`): `void` - -Download blob as a file - -#### Parameters - -• **blob**: `Blob` - -File as a blob - -• **name**: `string` - -Name blob will be downloaded as - -#### Returns - -`void` - -#### Defined in - -src/files.ts:25 +src/files.ts:24 *** @@ -80,7 +80,7 @@ Array of selected files #### Defined in -src/files.ts:37 +src/files.ts:39 *** @@ -108,7 +108,7 @@ Interpolated filename, or the raw timestamp if name was omitted #### Defined in -src/files.ts:60 +src/files.ts:62 *** @@ -142,4 +142,4 @@ Promise of request with `onProgress` callback #### Defined in -src/files.ts:72 +src/files.ts:74 diff --git a/index.md b/index.md index 10beb4b..bd7c183 100644 --- a/index.md +++ b/index.md @@ -24,6 +24,10 @@ Re-exports [BadGatewayError](errors.md#badgatewayerror) Re-exports [BadRequestError](errors.md#badrequesterror) +### Cache + +Re-exports [Cache](cache.md#cachek-t) + ### caseInsensitiveSort Re-exports [caseInsensitiveSort](array.md#caseinsensitivesort) @@ -44,6 +48,10 @@ Re-exports [CliEffects](logger.md#clieffects) Re-exports [CliForeground](logger.md#cliforeground) +### csv + +Re-exports [csv](csv.md#csv) + ### CustomError Re-exports [CustomError](errors.md#customerror) @@ -68,13 +76,13 @@ Re-exports [deepMerge](objects.md#deepmerge) Re-exports [dotNotation](objects.md#dotnotation) -### download +### downloadFile -Re-exports [download](files.md#download) +Re-exports [downloadFile](files.md#downloadfile) -### downloadBlob +### downloadUrl -Re-exports [downloadBlob](files.md#downloadblob) +Re-exports [downloadUrl](files.md#downloadurl) ### encodeQuery diff --git a/string.md b/string.md index 22d9150..6cdab78 100644 --- a/string.md +++ b/string.md @@ -50,7 +50,7 @@ Parts of a URL #### Defined in -src/string.ts:180 +src/string.ts:182 ## Functions @@ -78,7 +78,7 @@ Formated size #### Defined in -src/string.ts:38 +src/string.ts:30 *** @@ -102,7 +102,7 @@ Formated phone number #### Defined in -src/string.ts:52 +src/string.ts:44 *** @@ -141,7 +141,7 @@ console.log(insertAt('Hello world!', ' glorious', 5); #### Defined in -src/string.ts:72 +src/string.ts:64 *** @@ -171,7 +171,7 @@ Found matches. #### Defined in -src/string.ts:160 +src/string.ts:162 *** @@ -195,7 +195,7 @@ Hashed string #### Defined in -src/string.ts:226 +src/string.ts:228 *** @@ -243,7 +243,7 @@ Please use `String.padStart` & `String.padEnd` #### Defined in -src/string.ts:93 +src/string.ts:85 *** @@ -267,7 +267,7 @@ Parts of URL #### Defined in -src/string.ts:197 +src/string.ts:199 *** @@ -291,7 +291,7 @@ Hexadecimal number as a string #### Defined in -src/string.ts:27 +src/string.ts:96 *** @@ -326,7 +326,7 @@ const randomByte = randomString(8, "01") #### Defined in -src/string.ts:111 +src/string.ts:113 *** @@ -369,7 +369,7 @@ const randomChar = randomString(1, true, true, true); #### Defined in -src/string.ts:133 +src/string.ts:135 *** @@ -393,4 +393,4 @@ Target #### Defined in -src/string.ts:247 +src/string.ts:249