@thi.ng/geom-splines 2.2.99 → 2.2.101
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 +9 -3
- package/package.json +9 -9
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
|
>
|
|
@@ -51,7 +51,13 @@ Current implementations partially based on
|
|
|
51
51
|
yarn add @thi.ng/geom-splines
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
ESM import:
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
import * as gs from "@thi.ng/geom-splines";
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Browser ESM import:
|
|
55
61
|
|
|
56
62
|
```html
|
|
57
63
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-splines"></script>
|
|
@@ -62,7 +68,7 @@ ES module import:
|
|
|
62
68
|
For Node.js REPL:
|
|
63
69
|
|
|
64
70
|
```js
|
|
65
|
-
const
|
|
71
|
+
const gs = await import("@thi.ng/geom-splines");
|
|
66
72
|
```
|
|
67
73
|
|
|
68
74
|
Package sizes (brotli'd, pre-treeshake): ESM: 2.38 KB
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-splines",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.101",
|
|
4
4
|
"description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/checks": "^3.
|
|
41
|
-
"@thi.ng/geom-api": "^4.0.
|
|
42
|
-
"@thi.ng/geom-arc": "^2.1.
|
|
43
|
-
"@thi.ng/geom-resample": "^2.3.
|
|
44
|
-
"@thi.ng/math": "^5.10.
|
|
45
|
-
"@thi.ng/vectors": "^7.10.
|
|
39
|
+
"@thi.ng/api": "^8.10.0",
|
|
40
|
+
"@thi.ng/checks": "^3.6.0",
|
|
41
|
+
"@thi.ng/geom-api": "^4.0.5",
|
|
42
|
+
"@thi.ng/geom-arc": "^2.1.127",
|
|
43
|
+
"@thi.ng/geom-resample": "^2.3.48",
|
|
44
|
+
"@thi.ng/math": "^5.10.9",
|
|
45
|
+
"@thi.ng/vectors": "^7.10.26"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"geom-subdiv-curve"
|
|
146
146
|
]
|
|
147
147
|
},
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
149
149
|
}
|