@thi.ng/webgl-msdf 2.1.136 → 2.1.138
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/CHANGELOG.md +1 -1
- package/README.md +8 -8
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 191 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -52,7 +52,13 @@ McCurdy's](https://msdf-bmfont.donmccurdy.com/).
|
|
|
52
52
|
yarn add @thi.ng/webgl-msdf
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
ESM import:
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
import * as wm from "@thi.ng/webgl-msdf";
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Browser ESM import:
|
|
56
62
|
|
|
57
63
|
```html
|
|
58
64
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/webgl-msdf"></script>
|
|
@@ -60,12 +66,6 @@ ES module import:
|
|
|
60
66
|
|
|
61
67
|
[Skypack documentation](https://docs.skypack.dev/)
|
|
62
68
|
|
|
63
|
-
For Node.js REPL:
|
|
64
|
-
|
|
65
|
-
```js
|
|
66
|
-
const webglMsdf = await import("@thi.ng/webgl-msdf");
|
|
67
|
-
```
|
|
68
|
-
|
|
69
69
|
Package sizes (brotli'd, pre-treeshake): ESM: 1.57 KB
|
|
70
70
|
|
|
71
71
|
## Dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl-msdf",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.138",
|
|
4
4
|
"description": "Multi-channel SDF font rendering & basic text layout for WebGL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/shader-ast": "^0.15.
|
|
41
|
-
"@thi.ng/transducers": "^
|
|
42
|
-
"@thi.ng/vector-pools": "^3.1.
|
|
43
|
-
"@thi.ng/vectors": "^7.10.
|
|
44
|
-
"@thi.ng/webgl": "^6.8.
|
|
39
|
+
"@thi.ng/api": "^8.10.0",
|
|
40
|
+
"@thi.ng/shader-ast": "^0.15.10",
|
|
41
|
+
"@thi.ng/transducers": "^9.0.0",
|
|
42
|
+
"@thi.ng/vector-pools": "^3.1.124",
|
|
43
|
+
"@thi.ng/vectors": "^7.10.26",
|
|
44
|
+
"@thi.ng/webgl": "^6.8.10"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"parent": "@thi.ng/webgl",
|
|
95
95
|
"year": 2019
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
98
98
|
}
|