Skip to content

v1.0.14 - Enhanced Post-install Guide

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:53
· 135 commits to main since this release

What's New

Enhanced Post-install Message

When you run npm install @emasoft/svg-matrix, you now see a comprehensive guide:

╭──────────────────────────────────────────────────────────────────╮
│  @emasoft/svg-matrix v1.0.14                                     │
│  Arbitrary-precision SVG transforms with decimal.js              │
│──────────────────────────────────────────────────────────────────│
│                                                                  │
│  CLI Commands:                                                   │
│                                                                  │
│  svg-matrix flatten input.svg -o output.svg                      │
│    Bake all transforms into path coordinates                     │
│                                                                  │
│  Options:                                                        │
│    --precision N       Output decimal places (default: 6)        │
│    --clip-segments N   Polygon sampling for clips (default: 64)  │
│    --bezier-arcs N     Bezier arcs for curves (default: 8)       │
│    --e2e-tolerance N   Verification tolerance (default: 1e-10)   │
│    --verbose           Show processing details                   │
│                                                                  │
│──────────────────────────────────────────────────────────────────│
│                                                                  │
│  JavaScript API:                                                 │
│                                                                  │
│  import { Matrix, Vector, Transforms2D } from '@emasoft/svg-matrix'│
│                                                                  │
│  • Matrix        Arbitrary-precision matrix operations           │
│  • Vector        High-precision vector math                      │
│  • Transforms2D  rotate, scale, translate, skew, reflect         │
│  • Transforms3D  3D affine transformations                       │
│                                                                  │
╰──────────────────────────────────────────────────────────────────╯

Features from v1.0.13

  • High-precision Bezier circle/ellipse approximation
  • E2E verification for clip-path operations
  • Configurable precision options

Install

```bash
npm install @emasoft/svg-matrix@1.0.14
```