textmode.js 0.3.2-beta.3 → 0.4.1-beta.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.
- package/README.md +5 -5
- package/dist/textmode.esm.js +571 -578
- package/dist/textmode.esm.min.js +113 -120
- package/dist/textmode.umd.js +4 -4
- package/dist/textmode.umd.min.js +4 -4
- package/dist/types/index.d.ts +1 -4
- package/dist/types/textmode/Textmodifier.d.ts +4 -14
- package/dist/types/textmode/font/typr/types.d.ts +0 -16
- package/dist/types/textmode/mixins/FontMixin.d.ts +2 -2
- package/dist/types/textmode/plugins/PluginManager.d.ts +45 -14
- package/package.json +1 -1
- package/dist/types/export/base/DataExtractor.d.ts +0 -34
- package/dist/types/export/base/FileHandler.d.ts +0 -46
- package/dist/types/export/base/index.d.ts +0 -2
- package/dist/types/export/index.d.ts +0 -1
- package/dist/types/export/svg/SVGContentGenerator.d.ts +0 -76
- package/dist/types/export/svg/SVGDataExtractor.d.ts +0 -33
- package/dist/types/export/svg/SVGExporter.d.ts +0 -31
- package/dist/types/export/svg/SVGFileHandler.d.ts +0 -25
- package/dist/types/export/svg/SVGPathGenerator.d.ts +0 -49
- package/dist/types/export/svg/index.d.ts +0 -6
- package/dist/types/export/svg/types.d.ts +0 -129
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ The library is designed to be easy to use and accessible to developers of all sk
|
|
|
21
21
|
- Instanced rendering and batching for low draw call counts
|
|
22
22
|
- Font system with runtime font loading and dynamic sizing *(supports TTF/OTF/WOFF)*
|
|
23
23
|
- Author custom filter shaders in [`GLSL ES 3.00`](https://registry.khronos.org/OpenGL/specs/es/3.0/GLSL_ES_Specification_3.00.pdf) for advanced effects
|
|
24
|
-
- Flexible exporting: TXT, SVG,
|
|
24
|
+
- Flexible exporting: TXT, SVG, raster images *(PNG/JPG/WebP)*, animated GIFs, and video *(WebM)*
|
|
25
25
|
- Animation loop control: `frameRate`, `loop`/`noLoop`, `redraw`, `frameCount`, etc.
|
|
26
26
|
- Framework-agnostic: Use `textmode.js` with any canvas-based framework or library
|
|
27
27
|
- Zero dependencies, written in TypeScript, with comprehensive type definitions
|
|
@@ -62,10 +62,10 @@ To get started with `textmode.js`, you'll need:
|
|
|
62
62
|
|
|
63
63
|
| Bundle type | File size | Font included? | Best for |
|
|
64
64
|
|-------------|-----------|---------------|----------|
|
|
65
|
-
| **Standard UMD** (`textmode.umd.js`) | ~
|
|
66
|
-
| **Standard ESM** (`textmode.esm.js`) | ~
|
|
67
|
-
| **Minified UMD** (`textmode.umd.min.js`) | ~
|
|
68
|
-
| **Minified ESM** (`textmode.esm.min.js`) | ~
|
|
65
|
+
| **Standard UMD** (`textmode.umd.js`) | ~87kB | ✅ [UrsaFont](https://ursafrank.itch.io/ursafont) embedded | Quick setup, prototyping |
|
|
66
|
+
| **Standard ESM** (`textmode.esm.js`) | ~111kB | ✅ [UrsaFont](https://ursafrank.itch.io/ursafont) embedded | Quick setup, prototyping |
|
|
67
|
+
| **Minified UMD** (`textmode.umd.min.js`) | ~79kB | ❌ Requires external font | Custom fonts |
|
|
68
|
+
| **Minified ESM** (`textmode.esm.min.js`) | ~103kB | ❌ Requires external font | Custom fonts |
|
|
69
69
|
|
|
70
70
|
**Choose standard bundles for:**
|
|
71
71
|
- Quick setup with no additional configuration
|