@jayson991/svg2font 1.0.0 → 1.0.2
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/package.json +1 -1
- package/wasm/README.md +8 -0
- package/wasm/svg2font_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm/README.md
CHANGED
|
@@ -22,6 +22,14 @@ npm install -g @jayson991/svg2font-cli
|
|
|
22
22
|
svg2font --src "icons/**/*.svg" --dist dist --font-name myicons
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
Or install the native CLI with a single curl pipeline (like Volta). No Node.js or npm needed — the installer detects your OS/architecture and downloads the right binary from the latest GitHub release:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
curl -fsSL https://raw.githubusercontent.com/jaysonwu991/svg2font/main/scripts/install.sh | bash
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The installer installs to `~/.svg2font/bin` and adds it to your `PATH`. Variables: `SVG2FONT_HOME` (install root), `SVG2FONT_INSTALL_DIR` (binary directory), and `SVG2FONT_VERSION` (pin a specific release).
|
|
32
|
+
|
|
25
33
|
### [@jayson991/svg2font](packages/svg2font/README.md)
|
|
26
34
|
|
|
27
35
|
Import as a Node.js module:
|
|
Binary file
|