@thi.ng/blurhash 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -15
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/blurhash)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -50,7 +51,7 @@ On Firefox 122 (MBP M1 2021), these changes result in ~1.6x faster encoding and
|
|
|
50
51
|
|
|
51
52
|
**ALPHA** - bleeding edge / work-in-progress
|
|
52
53
|
|
|
53
|
-
[Search or submit any issues for this package](https://
|
|
54
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bblurhash%5D)
|
|
54
55
|
|
|
55
56
|
## Installation
|
|
56
57
|
|
|
@@ -82,23 +83,23 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.21 KB
|
|
|
82
83
|
|
|
83
84
|
## Dependencies
|
|
84
85
|
|
|
85
|
-
- [@thi.ng/api](https://
|
|
86
|
-
- [@thi.ng/base-n](https://
|
|
87
|
-
- [@thi.ng/canvas](https://
|
|
88
|
-
- [@thi.ng/errors](https://
|
|
89
|
-
- [@thi.ng/math](https://
|
|
86
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
87
|
+
- [@thi.ng/base-n](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/base-n)
|
|
88
|
+
- [@thi.ng/canvas](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/canvas)
|
|
89
|
+
- [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
|
|
90
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
90
91
|
|
|
91
92
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
92
93
|
|
|
93
94
|
## Usage examples
|
|
94
95
|
|
|
95
96
|
One project in this repo's
|
|
96
|
-
[/examples](https://
|
|
97
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
97
98
|
directory is using this package:
|
|
98
99
|
|
|
99
|
-
| Screenshot | Description | Live demo | Source
|
|
100
|
-
|
|
101
|
-
| <img src="https://
|
|
100
|
+
| Screenshot | Description | Live demo | Source |
|
|
101
|
+
|:----------------------------------------------------------------------------------------------------------------|:------------------------------------------------|:-----------------------------------------------|:------------------------------------------------------------------------------------|
|
|
102
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/blurhash.jpg" width="240"/> | Interactive & reactive image blurhash generator | [Demo](https://demo.thi.ng/umbrella/blurhash/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/blurhash) |
|
|
102
103
|
|
|
103
104
|
## API
|
|
104
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/blurhash",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Fast, optimized TS implementation of the Wolt Blurhash algorithm",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/blurhash"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/blurhash",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/base-n": "^2.7.
|
|
45
|
-
"@thi.ng/canvas": "^1.1.
|
|
46
|
-
"@thi.ng/errors": "^2.6.
|
|
47
|
-
"@thi.ng/math": "^5.15.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/base-n": "^2.7.63",
|
|
45
|
+
"@thi.ng/canvas": "^1.1.10",
|
|
46
|
+
"@thi.ng/errors": "^2.6.7",
|
|
47
|
+
"@thi.ng/math": "^5.15.7"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"esbuild": "^0.27.2",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"year": 2023,
|
|
96
96
|
"screenshot": "blurhash/thumb.png"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
99
99
|
}
|