@richardmcquiston01/core-vector 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +24 -0
  2. package/package.json +17 -1
package/README.md CHANGED
@@ -1,3 +1,27 @@
1
1
  # @richardmcquiston01/core-vector
2
2
 
3
+ Vector geometry core for laser, CNC and other maker-machine workflows: raster tracing (including multicolor), SVG and DXF import/export, boolean operations, path offset and kerf compensation, text-to-paths, and part nesting.
4
+
3
5
  Part of [maker-image-tools](https://github.com/RichardMcQuiston01/maker-image-tools).
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ npm i @richardmcquiston01/core-vector
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { pathsToDxf, svgToPaths, union } from "@richardmcquiston01/core-vector";
17
+
18
+ const paths = svgToPaths(svgString);
19
+ const merged = union(paths[0]!, paths[1]!);
20
+ const dxf: string = pathsToDxf(merged);
21
+ ```
22
+
23
+ ESM only.
24
+
25
+ ## License
26
+
27
+ MIT
package/package.json CHANGED
@@ -1,8 +1,24 @@
1
1
  {
2
2
  "name": "@richardmcquiston01/core-vector",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Vector geometry core (paths, boolean ops, nesting, DXF, tracing) for laser/CNC/maker workflows",
5
+ "keywords": [
6
+ "vector",
7
+ "svg",
8
+ "dxf",
9
+ "image-trace",
10
+ "nesting",
11
+ "boolean-ops",
12
+ "laser",
13
+ "cnc",
14
+ "maker",
15
+ "typescript"
16
+ ],
5
17
  "license": "MIT",
18
+ "homepage": "https://github.com/RichardMcQuiston01/maker-image-tools#readme",
19
+ "bugs": {
20
+ "url": "https://github.com/RichardMcQuiston01/maker-image-tools/issues"
21
+ },
6
22
  "type": "module",
7
23
  "repository": {
8
24
  "type": "git",