vizmatic 0.1.23 → 0.1.24

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 (53) hide show
  1. package/PROMPT.md +29 -10
  2. package/README.md +39 -34
  3. package/assets/THIRD_PARTY_LICENSES.md +2 -1
  4. package/assets/licenses/OFL-1.1.txt +80 -0
  5. package/assets/licenses/twemoji-svg-MIT.txt +21 -0
  6. package/dist/cli.js +450 -337
  7. package/dist/index.cjs +342 -311
  8. package/dist/index.d.cts +12 -2
  9. package/dist/index.d.ts +12 -2
  10. package/dist/index.js +342 -311
  11. package/examples/README.md +17 -17
  12. package/package.json +5 -4
  13. package/docs/PROMPT.md +0 -507
  14. package/docs/assets/examples/.gitkeep +0 -1
  15. package/docs/assets/examples/agent-pipeline_dark.png +0 -0
  16. package/docs/assets/examples/agent-pipeline_light.png +0 -0
  17. package/docs/assets/examples/animated-pipeline_dark.gif +0 -0
  18. package/docs/assets/examples/animated-pipeline_dark.png +0 -0
  19. package/docs/assets/examples/animated-pipeline_light.gif +0 -0
  20. package/docs/assets/examples/animated-pipeline_light.png +0 -0
  21. package/docs/assets/examples/attention-head_dark.png +0 -0
  22. package/docs/assets/examples/attention-head_light.png +0 -0
  23. package/docs/assets/examples/building-blocks_dark.png +0 -0
  24. package/docs/assets/examples/building-blocks_light.png +0 -0
  25. package/docs/assets/examples/embedding-map_dark.png +0 -0
  26. package/docs/assets/examples/embedding-map_light.png +0 -0
  27. package/docs/assets/examples/eval-dashboard_dark.png +0 -0
  28. package/docs/assets/examples/eval-dashboard_light.png +0 -0
  29. package/docs/assets/examples/gif-manifest.json +0 -12
  30. package/docs/assets/examples/manifest.json +0 -132
  31. package/docs/assets/examples/model-router_dark.png +0 -0
  32. package/docs/assets/examples/model-router_light.png +0 -0
  33. package/docs/assets/examples/presentation-frame_dark.png +0 -0
  34. package/docs/assets/examples/presentation-frame_light.png +0 -0
  35. package/docs/assets/examples/rag-graph_dark.png +0 -0
  36. package/docs/assets/examples/rag-graph_light.png +0 -0
  37. package/docs/assets/examples/release-card_dark.png +0 -0
  38. package/docs/assets/examples/release-card_light.png +0 -0
  39. package/docs/assets/examples/research-landscape_dark.png +0 -0
  40. package/docs/assets/examples/research-landscape_light.png +0 -0
  41. package/docs/assets/examples/sources.json +0 -162
  42. package/docs/assets/examples/spec-anatomy_dark.png +0 -0
  43. package/docs/assets/examples/spec-anatomy_light.png +0 -0
  44. package/docs/assets/examples/theme-background_dark.png +0 -0
  45. package/docs/assets/examples/theme-background_light.png +0 -0
  46. package/docs/assets/examples/theme-system_dark.png +0 -0
  47. package/docs/assets/examples/theme-system_light.png +0 -0
  48. package/docs/assets/examples/token-matrix_dark.png +0 -0
  49. package/docs/assets/examples/token-matrix_light.png +0 -0
  50. package/docs/assets/examples/transparent-badge_dark.png +0 -0
  51. package/docs/assets/examples/transparent-badge_light.png +0 -0
  52. package/docs/assets/icon.svg +0 -16
  53. package/docs/assets/logo.svg +0 -30
package/PROMPT.md CHANGED
@@ -2,22 +2,39 @@
2
2
 
3
3
  Use Vizmatic to create polished, theme-aware diagrams, figures, dashboards, presentation frames, and animated GIFs from structured React scene primitives.
4
4
 
5
- ## Install Or Run
6
-
7
- Use the package manager already present in the project.
5
+ ## Fastest Path
8
6
 
9
7
  Install the CLI once:
10
8
 
11
9
  ```bash
12
- pnpm add -g vizmatic
10
+ npm install -g vizmatic
11
+ ```
12
+
13
+ Create `frame.tsx`:
14
+
15
+ ```tsx
16
+ <Scene title="Agent visual pipeline">
17
+ <Flow
18
+ connectorTone="purple"
19
+ stages={[
20
+ { title: "Prompt", tone: "blue" },
21
+ { title: "Scene spec", tone: "purple" },
22
+ { title: "PNG / SVG / GIF", tone: "green" },
23
+ ]}
24
+ />
25
+ </Scene>
13
26
  ```
14
27
 
15
- Then render any frame directly:
28
+ Render dark and light assets:
16
29
 
17
30
  ```bash
18
31
  vizmatic ./frame.tsx --out ./dist/frames --theme dark,light
19
32
  ```
20
33
 
34
+ ## Project Installation
35
+
36
+ Use the package manager already present in the project.
37
+
21
38
  Install in the project when the project needs scripts, editor types, or direct renderer APIs:
22
39
 
23
40
  ```bash
@@ -32,7 +49,7 @@ pnpm add github:bvolpato/vizmatic react
32
49
 
33
50
  For npm/yarn/bun projects, use the equivalent package-manager command.
34
51
 
35
- ## Create a frame
52
+ ## Larger Example
36
53
 
37
54
  Create `frames/agent-pipeline.tsx`:
38
55
 
@@ -105,6 +122,8 @@ Render it:
105
122
  vizmatic frames --out public/vizmatic --theme dark,light --watermark "Your Product" --watermark-image ./logo.svg --watermark-position top-right
106
123
  ```
107
124
 
125
+ The generated `manifest.json` keeps `outputs` for compatibility and adds `outputDetails` with each file's theme, path, width, and height.
126
+
108
127
  PNG and SVG renders use alpha-transparent canvas backgrounds by default. Use the actual theme background when the host needs a full-frame image:
109
128
 
110
129
  ```bash
@@ -337,12 +356,12 @@ Theme and render APIs:
337
356
  - `WatermarkInput`: `boolean | string | WatermarkOptions | ReactElement<WatermarkElementProps>`. `true` uses Vizmatic defaults. A string sets the watermark text. A React element can be `<Watermark>...</Watermark>` or any custom element.
338
357
  - `WatermarkImageOptions`: `src`, `width?: number`, `height?: number`, `alt?: string`. Programmatic `src` should be a URL or data URI. CLI `--watermark-image` accepts URL, data URI, or local path.
339
358
  - `WatermarkOptions`: `text?: string | false`, `image?: string | WatermarkImageOptions`, `icon?: ReactNode | string | false`, `element?: ReactNode`, `position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" = "top-right"`, `opacity?: number`, `color?: string`.
340
- - `RenderOptions`: `width`, `height`, `outputPath`, `background?: "transparent" | "theme" | CSS color = "transparent"`, `watermark?: WatermarkInput`, `brand?: boolean | string` as a compatibility alias, `crop?: boolean | "height" | "both" = true`, `scale?: number = 2`. Use `crop: "height"` when host layouts require stable width but should still trim extra vertical whitespace.
341
- - `renderToBuffer(element, width, height, options?)`: `options` supports `background?`, `watermark?`, `brand?`, `scale?`.
342
- - `renderToSvg(element, width, height, options?)`: `options` supports `background?`, `watermark?`, `brand?`.
359
+ - `RenderOptions`: `width`, `height`, `outputPath`, `background?: "transparent" | "theme" | CSS color = "transparent"`, `theme?: "dark" | "light" = "dark"` for direct-render watermark defaults, `watermark?: WatermarkInput`, `brand?: boolean | string` as a compatibility alias, `crop?: boolean | "height" | "both" = true`, `scale?: number = 2`. Use `crop: "height"` when host layouts require stable width but should still trim extra vertical whitespace.
360
+ - `renderToBuffer(element, width, height, options?)`: `options` supports `background?`, `theme?`, `watermark?`, `brand?`, `scale?`.
361
+ - `renderToSvg(element, width, height, options?)`: `options` supports `background?`, `theme?`, `watermark?`, `brand?`.
343
362
  - `renderAnimatedGif(scenes, options)`: `scenes: AnimatedScene[]`, `options: AnimationOptions`.
344
363
  - `AnimatedScene`: `element`, `duration` in ms, `transition?: "none" | "fade" | "appear"`, `transitionDuration?`, `label?`.
345
- - `AnimationOptions`: `width`, `height`, `outputPath`, `loop?: number = 0`, `scale?: number = 1`, `background?: "theme" | "transparent" | CSS color = "theme"` for GIF reliability, `watermark?: WatermarkInput`, `brand?: boolean | string` as a compatibility alias, `theme?: "dark" | "light" = "dark"`.
364
+ - `AnimationOptions`: `width`, `height`, `outputPath`, `loop?: number = 0`, `scale?: number = 1`, `background?: "theme" | "transparent" | CSS color = "theme"`, `watermark?: WatermarkInput`, `brand?: boolean | string` as a compatibility alias, `theme?: "dark" | "light" = "dark"`. Transparent GIFs use one-bit transparency; use PNG/SVG when smooth alpha edges matter.
346
365
 
347
366
  ## Prop-aware examples
348
367
 
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="docs/assets/logo.svg" alt="Vizmatic logo" width="460" />
2
+ <img src="https://bvolpato.github.io/vizmatic/assets/logo.svg" alt="Vizmatic logo" width="460" />
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -15,7 +15,7 @@
15
15
  </p>
16
16
 
17
17
  <p align="center">
18
- <img src="docs/assets/examples/animated-pipeline_dark.gif" alt="Vizmatic animated render pipeline" width="760" />
18
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/animated-pipeline_dark.gif" alt="Vizmatic animated render pipeline" width="760" />
19
19
  </p>
20
20
 
21
21
  <p align="center">
@@ -35,10 +35,26 @@
35
35
  Install the CLI once:
36
36
 
37
37
  ```bash
38
- pnpm add -g vizmatic
38
+ npm install -g vizmatic
39
39
  ```
40
40
 
41
- Then render any frame directly:
41
+ Create `frame.tsx`:
42
+
43
+ ```tsx
44
+ <Scene title="Agent visual pipeline">
45
+ <Flow
46
+ stages={[
47
+ { title: "Prompt", subtitle: "intent", tone: "blue" },
48
+ { title: "Scene spec", subtitle: "typed structure", tone: "purple" },
49
+ { title: "PNG / SVG / GIF", subtitle: "artifact", tone: "green" },
50
+ ]}
51
+ />
52
+ </Scene>
53
+ ```
54
+
55
+ `Scene` title and subtitle are optional. Omit both when surrounding copy already names the visual.
56
+
57
+ Render it directly:
42
58
 
43
59
  ```bash
44
60
  vizmatic ./frame.tsx --out ./dist/frames --theme dark,light
@@ -136,32 +152,16 @@ rm -rf ~/.agents/skills/vizmatic
136
152
  cp -R "$tmp/vizmatic/.agents/skills/vizmatic" ~/.agents/skills/vizmatic
137
153
  ```
138
154
 
139
- Create a frame:
155
+ ## Rendering Options
140
156
 
141
- ```tsx
142
- width = 1040;
143
- height = 560;
144
-
145
- <Scene title="Agent visual pipeline">
146
- <Flow
147
- stages={[
148
- { title: "Prompt", subtitle: "intent", tone: "blue" },
149
- { title: "Scene spec", subtitle: "typed structure", tone: "purple" },
150
- { title: "PNG / SVG / GIF", subtitle: "rendered artifact", tone: "green" },
151
- ]}
152
- />
153
- </Scene>
154
- ```
155
-
156
- `Scene` title and subtitle are optional. Omit both for visual-only figures, badges, inline blog diagrams, or frames where surrounding copy already supplies the title.
157
-
158
- Render it:
157
+ Add optional branding:
159
158
 
160
159
  ```bash
161
160
  vizmatic ./frame.tsx --out ./dist/frames --theme dark,light --watermark "Acme" --watermark-image ./logo.svg
162
161
  ```
163
162
 
164
163
  The PNG canvas is alpha-transparent by default. Use `--background theme` for an opaque theme-colored frame, or set `background={c.bg}` on `Scene` / `Canvas`.
164
+ Each output directory includes `manifest.json`. `outputs` lists generated files; `outputDetails` records theme, path, and exact rendered dimensions for each file.
165
165
 
166
166
  Render an animation:
167
167
 
@@ -207,6 +207,10 @@ Vizmatic gives them a constrained visual language:
207
207
 
208
208
  | Need | Vizmatic answer |
209
209
  |---|---|
210
+ | Richer figures than Mermaid | Charts, cards, matrices, timelines, trees, icons, and free composition |
211
+ | Deterministic output unlike image generation | Source-controlled TSX stays editable and renders consistently |
212
+ | Headless output without browser screenshots | Node renderer produces assets directly in local workflows and CI |
213
+ | Dark and light variants | One command renders both themes from semantic color tokens |
210
214
  | Rich educational illustrations | React primitives rendered through Satori and resvg |
211
215
  | Theme-aware output | Semantic tones and dark/light theme tokens |
212
216
  | Agent-friendly authoring | JSX scene modules with simple props |
@@ -218,19 +222,19 @@ Vizmatic gives them a constrained visual language:
218
222
  ## Gallery
219
223
 
220
224
  <p>
221
- <img src="docs/assets/examples/animated-pipeline_dark.gif" alt="Animated pipeline" width="380" />
222
- <img src="docs/assets/examples/attention-head_dark.png" alt="Attention head" width="380" />
225
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/animated-pipeline_dark.gif" alt="Animated pipeline" width="380" />
226
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/attention-head_dark.png" alt="Attention head" width="380" />
223
227
  </p>
224
228
  <p>
225
- <img src="docs/assets/examples/rag-graph_dark.png" alt="RAG graph" width="380" />
226
- <img src="docs/assets/examples/eval-dashboard_dark.png" alt="Evaluation dashboard" width="380" />
229
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/rag-graph_dark.png" alt="RAG graph" width="380" />
230
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/eval-dashboard_dark.png" alt="Evaluation dashboard" width="380" />
227
231
  </p>
228
232
  <p>
229
- <img src="docs/assets/examples/token-matrix_dark.png" alt="Token matrix" width="380" />
230
- <img src="docs/assets/examples/theme-system_dark.png" alt="Theme system" width="380" />
233
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/token-matrix_dark.png" alt="Token matrix" width="380" />
234
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/theme-system_dark.png" alt="Theme system" width="380" />
231
235
  </p>
232
236
  <p>
233
- <img src="docs/assets/examples/presentation-frame_dark.png" alt="Presentation frame" width="380" />
237
+ <img src="https://bvolpato.github.io/vizmatic/assets/examples/presentation-frame_dark.png" alt="Presentation frame" width="380" />
234
238
  </p>
235
239
 
236
240
  More examples live in [`examples/`](examples) and on the [website](https://bvolpato.github.io/vizmatic/).
@@ -417,7 +421,7 @@ Vizmatic treats generated visuals as source-controlled build artifacts. CI fails
417
421
 
418
422
  | Gate | What it protects |
419
423
  |---|---|
420
- | `pnpm lint` | Static TypeScript coverage across `src/`, `examples/`, `scripts/`, and tests |
424
+ | `pnpm lint` | TypeScript coverage plus GitHub Actions validation with actionlint |
421
425
  | `pnpm test` | Render pipeline behavior, watermark options, and output validation |
422
426
  | `pnpm render:examples` | Dark/light PNGs, animated GIFs, source snippets, and website HTML |
423
427
  | `pnpm docs:check` | Local asset references, `PROMPT.md` sync, source modal themes, and homepage affordances |
@@ -575,7 +579,7 @@ Vizmatic exports a fairly complete visual kit. Common cases should use these pri
575
579
  import { renderAnimatedGif, renderToPng, renderToBuffer, renderToSvg } from "vizmatic"
576
580
  ```
577
581
 
578
- `renderToPng` renders at 2x scale by default, uses alpha transparency unless `background` is set, checks for clipped content, crops extra vertical whitespace, and can apply an optional watermark. Use `background: "theme"` to paint `c.bg`, or any CSS color string for a fixed fill. Use `crop: "height"` when a downstream layout needs fixed width but still wants vertical whitespace trimmed. Use `watermark.image` for a URL or data URI; the CLI also accepts local image paths through `--watermark-image`. For frame-owned branding, export `watermark = <Watermark>...</Watermark>` from the frame module. `brand` still works as a compatibility alias.
582
+ `renderToPng` renders at 2x scale by default, uses alpha transparency unless `background` is set, checks for clipped content, crops extra vertical whitespace, and can apply an optional watermark. Use `background: "theme"` to paint `c.bg`, or any CSS color string for a fixed fill. Pass `theme: "light"` when direct renderer calls should use light watermark defaults. Use `crop: "height"` when a downstream layout needs fixed width but still wants vertical whitespace trimmed. Use `watermark.image` for a URL or data URI; the CLI also accepts local image paths through `--watermark-image`. For frame-owned branding, export `watermark = <Watermark>...</Watermark>` from the frame module. `brand` still works as a compatibility alias.
579
583
 
580
584
  ```ts
581
585
  await renderToPng(element, {
@@ -583,6 +587,7 @@ await renderToPng(element, {
583
587
  height: 560,
584
588
  outputPath: "dist/frame.png",
585
589
  background: "theme",
590
+ theme: "dark",
586
591
  watermark: { text: "Your Product", image: "https://example.com/logo.svg", position: "top-right" },
587
592
  crop: "height",
588
593
  scale: 2,
@@ -603,7 +608,7 @@ export const watermark = (
603
608
  )
604
609
  ```
605
610
 
606
- `renderAnimatedGif` turns ordered scene states into a looping GIF.
611
+ `renderAnimatedGif` turns ordered scene states into a looping GIF. Transparent GIFs use GIF's one-bit transparency; PNG and SVG remain the better choice for full alpha edges.
607
612
 
608
613
  ```ts
609
614
  await renderAnimatedGif(createScenes("dark"), {
@@ -642,7 +647,7 @@ pnpm site:serve
642
647
 
643
648
  ## Publishing
644
649
 
645
- Preferred release path is the GitHub `Release` workflow. It runs the full verification gate, bumps the package version, publishes to npm with provenance, pushes the tag, and creates a GitHub release.
650
+ Preferred release path is the GitHub `Release` workflow. It runs the full verification gate, bumps the package version, publishes to npm with provenance, pushes the tag, and creates a GitHub release. Release notes always start with a "Changes since latest version" section containing the previous tag, current tag, compare link, and commits before GitHub's generated notes.
646
651
 
647
652
  ```bash
648
653
  gh workflow run release.yml -f version=patch
@@ -18,10 +18,11 @@ runtime fetches.
18
18
  Copyright 2022 Google LLC. All Rights Reserved.
19
19
  Source: https://github.com/notofonts/math
20
20
 
21
- SIL Open Font License 1.1 text: https://openfontlicense.org/open-font-license-official-text/
21
+ Full license: [`licenses/OFL-1.1.txt`](licenses/OFL-1.1.txt).
22
22
 
23
23
  ## Emoji
24
24
 
25
25
  - Twemoji SVG assets from `@twemoji/svg@15.0.0`: MIT.
26
26
  Copyright (c) 2023 Samuel Kopp.
27
27
  Source: https://github.com/boywithkeyboard/twemoji_svg
28
+ Full license: [`licenses/twemoji-svg-MIT.txt`](licenses/twemoji-svg-MIT.txt).
@@ -0,0 +1,80 @@
1
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
2
+
3
+ PREAMBLE
4
+ The goals of the Open Font License (OFL) are to stimulate worldwide
5
+ development of collaborative font projects, to support the font creation
6
+ efforts of academic and linguistic communities, and to provide a free and
7
+ open framework in which fonts may be shared and improved in partnership with
8
+ others.
9
+
10
+ The OFL allows the licensed fonts to be used, studied, modified and
11
+ redistributed freely as long as they are not sold by themselves. The fonts,
12
+ including any derivative works, can be bundled, embedded, redistributed and/or
13
+ sold with any software provided that any reserved names are not used by
14
+ derivative works. The fonts and derivatives, however, cannot be released under
15
+ any other type of license. The requirement for fonts to remain under this
16
+ license does not apply to any document created using the fonts or their
17
+ derivatives.
18
+
19
+ DEFINITIONS
20
+ "Font Software" refers to the set of files released by the Copyright Holder(s)
21
+ under this license and clearly marked as such. This may include source files,
22
+ build scripts and documentation.
23
+
24
+ "Reserved Font Name" refers to any names specified as such after the copyright
25
+ statement(s).
26
+
27
+ "Original Version" refers to the collection of Font Software components as
28
+ distributed by the Copyright Holder(s).
29
+
30
+ "Modified Version" refers to any derivative made by adding to, deleting, or
31
+ substituting, in part or in whole, any of the components of the Original
32
+ Version, by changing formats or by porting the Font Software to a new
33
+ environment.
34
+
35
+ "Author" refers to any designer, engineer, programmer, technical writer or
36
+ other person who contributed to the Font Software.
37
+
38
+ PERMISSION & CONDITIONS
39
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
40
+ the Font Software, to use, study, copy, merge, embed, modify, redistribute, and
41
+ sell modified and unmodified copies of the Font Software, subject to the
42
+ following conditions:
43
+
44
+ 1) Neither the Font Software nor any of its individual components, in Original
45
+ or Modified Versions, may be sold by itself.
46
+
47
+ 2) Original or Modified Versions of the Font Software may be bundled,
48
+ redistributed and/or sold with any software, provided that each copy contains
49
+ the above copyright notice and this license. These can be included either as
50
+ stand-alone text files, human-readable headers or in the appropriate
51
+ machine-readable metadata fields within text or binary files as long as those
52
+ fields can be easily viewed by the user.
53
+
54
+ 3) No Modified Version of the Font Software may use the Reserved Font Name(s)
55
+ unless explicit written permission is granted by the corresponding Copyright
56
+ Holder. This restriction only applies to the primary font name as presented to
57
+ the users.
58
+
59
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software
60
+ shall not be used to promote, endorse or advertise any Modified Version,
61
+ except to acknowledge the contribution(s) of the Copyright Holder(s) and the
62
+ Author(s) or with their explicit written permission.
63
+
64
+ 5) The Font Software, modified or unmodified, in part or in whole, must be
65
+ distributed entirely under this license, and must not be distributed under any
66
+ other license. The requirement for fonts to remain under this license does not
67
+ apply to any document created using the Font Software.
68
+
69
+ TERMINATION
70
+ This license becomes null and void if any of the above conditions are not met.
71
+
72
+ DISCLAIMER
73
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
75
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
76
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR
77
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
78
+ INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
79
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
80
+ THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Samuel Kopp
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.